j2me development question

I am using Selena 7087 for some j2me development. I have set the JDK to 1.3 so that I can be as low as possible and the J2ME SDK to WTK 2.2. Following code does not show red in the editor but the "rebuild project" fails.

System.out.println("my name is " + name);

with the error "Could not load class StringBuilder, Could not find the class". Changing the code to

System.out.print("my name is ");
System.out.println(name);

works. Same code in NetBeans works fine. Wondering how to stop the build process from complaining about this? I am sure I am missing some small configuration somewhere.

1 comment
Comment actions Permalink

Hello Vinay,

Did you choose java 1.3 inside J2ME SDK?

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

I am using Selena 7087 for some j2me development. I have set the JDK
to 1.3 so that I can be as low as possible and the J2ME SDK to WTK
2.2. Following code does not show red in the editor but the "rebuild
project" fails.

System.out.println("my name is " + name);

with the error "Could not load class StringBuilder, Could not find the
class". Changing the code to

System.out.print("my name is ");
System.out.println(name);
works. Same code in NetBeans works fine. Wondering how to stop the
build process from complaining about this? I am sure I am missing some
small configuration somewhere.



0

Please sign in to leave a comment.