Skip to main content

Next release of pMEA

6 replies [Last post]
yhilem
Offline
Joined: 2004-10-31
Points: 0

Hi,
Is a new release is expected before the start of the project "Java ME.next" ?
Best regards.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong Guest
Offline
Joined: 2010-11-03
Points: 0

Hi yhilem,

I'm cc'ing our phoneME Advanced product manager, Florian Tournier. He
can answer questions about new releases of the phoneME Advanced project.

Florian, here is the forum thread on this subject:
http://forums.java.net/node/722902

Thanks,
Hinkmond

On 11/23/2010 11:26 PM, forums@java.net wrote:
> Hi,
>
> Is a new release is expected before the start of the project "Java
> ME.next" ?
>
> Best regards.
>
>

davyp
Offline
Joined: 2007-01-03
Points: 0

I would be interested in future plans about the phoneme project as well.

Regards
Davy

vaij1977
Offline
Joined: 2010-11-08
Points: 0

Hi,
Sorry if I am posting in a wrong thread.
I am trying to link the libcvm.so built for mips platform using foundation profile with an external C application.

While creating JVM, it crashes at CVMjniCallStaticVoidMethod() of initalizeThreadObjects() in jni_impl.c.

Also found out that it crashes at CVMJniInvokeNative() in assembly code of invokeNative_mips.S

Can anyone please help me.

Its is very urgent.

Thanks
Mala

Hinkmond Wong Guest
Offline
Joined: 2010-11-03
Points: 0

On 11/29/2010 6:41 PM, forums@java.net wrote:
> Hi,
>
> Sorry if I am posting in a wrong thread.
>
> I am trying to link the libcvm.so built for mips platform using
> foundation
> profile with an external C application. While creating JVM, it
> crashes at
> CVMjniCallStaticVoidMethod() of initalizeThreadObjects() in jni_impl.c.
> Also found out that it crashes at CVMJniInvokeNative() in assembly
> code of
> invokeNative_mips.S Can anyone please help me. Its is very urgent.
> Thanks Mala
>

Hi Mala,

I'm not sure what you mean by "link" the libcvm.so. The libcvm.so is
not meant to be a standalone shareable library and cannot be "linked" to
by anything other than the cvm executable. It only exists to support
the cvm executable (binary file) that is built with CDC (phoneME
Advanced). Can you describe in detail (lines of code) what you exactly
mean by "While creating [a] JVM..."?

Thanks,
Hinkmond

vaij1977
Offline
Joined: 2010-11-08
Points: 0

Hi Hinkmond,

Thanks for your reply.

I have an "C" code which creates the JVM by invoking "JNI_CreateJavaVM()
like shown below

JNIEnv *env;
JavaVMInitArgs vm_args;
jint res;

jstring jstr;
jobjectArray args;
JavaVMOption options[1];
vm_args.version = JNI_VERSION_1_2;
vm_args.nOptions = 1;
options[0].optionString ="-Djava.class.path=" USER_CLASSPATH;
vm_args.ignoreUnrecognized = JNI_TRUE;
vm_args.options = options;

// printf("ABHI before JNI_CreateJavaVM\n");
res = JNI_CreateJavaVM(&cached_jvm,(void**)&env,&vm_args);
if (res < 0 )
{
printf("Mala Can't initialize JVM\n");
}

I have the CVM as a shared library using CVM_BUILD_SO=true option and linked
the "C" application to the shared library.

Thanks
Mala

Hinkmond Wong Guest
Offline
Joined: 2010-11-03
Points: 0

On 12/2/2010 7:21 PM, Vaijayanthi Mala Suresh wrote:
> Hi Hinkmond,
> Thanks for your reply.
> I have an "C" code which creates the JVM by invoking
> "JNI_CreateJavaVM() like shown below
> JNIEnv *env;
> JavaVMInitArgs vm_args;
> jint res;
>
> jstring jstr;
> jobjectArray args;
> JavaVMOption options[1];
> vm_args.version = JNI_VERSION_1_2;
> vm_args.nOptions = 1;
> options[0].optionString ="-Djava.class.path=" USER_CLASSPATH;
> vm_args.ignoreUnrecognized = JNI_TRUE;
> vm_args.options = options;
> // printf("ABHI before JNI_CreateJavaVM\n");
> res = JNI_CreateJavaVM(&cached_jvm,(void**)&env,&vm_args);
> if (res < 0 )
> {
> printf("Mala Can't initialize JVM\n");
> }
> I have the CVM as a shared library using CVM_BUILD_SO=true option and
> linked the "C" application to the shared library.
> Thanks
> Mala

Hi Mala,

What does your stack trace look like? Can you send the copy and paste
of the full stack trace after it has crashed?

Thanks,
Hinkmond