what JVM should I compile for when creating J2ME applications?

J

jkoorts

Hi

I'm busy building my build file, when I realised i dont even know what
JVM version to compile to.

what version should i set the "target" to?

1.4?

cheers
jk
 
J

jkoorts

Ignore,

I just found out. Its JVM 1.1 , so set target to 1.1

Setting it to 1.1 caused String.equalsIgnoreCase() to fail.

I changed it to String.equals() and that compiled fine for 1.1
 
O

Oliver Wong

I just found out. Its JVM 1.1 , so set target to 1.1

Setting it to 1.1 caused String.equalsIgnoreCase() to fail.

I changed it to String.equals() and that compiled fine for 1.1

Yes, but I hope you realize the two methods have different semantics,
and you've taken that into account, right? ;)

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top