This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
hello, the issue is that i'm using netbeans 4.1 with mobility pack 4.1. i installed the jdk(1.5) separately from netbeans. when this is done, the other features work just fine, including flow designer and screen designer...even the code is auto-generated. but, when i try to compile, it says java.lang not found in classpath or bootclasspath. i have installed jdk in "C:\Program Files\java\jdk1.5" and netbeans in "C:\netbeans-4.1" i had tried previously installing the netbeans-jdk bundle (both for netbeans 4.0 and 4.1)... there were no problems then. this seems to be a problem only when the jdk and netbeans are installed separately. ==== Kiran
Classpath module is an API module, the project type modules (in your case j2me project type + j2me platform) provide classpath for compiler. Seems to be a bug in the j2me platform.
This is cause by changing JDK. This is fixed in upcoming NB 5.0. To workaround that 1) reinstall the same JDK, emulator will that 2) please shut down IDE and delete $USER_HOME/.netbeans/4.1/emulators/ and $USER_HOME/.netbeans/4.1/config/Services/Platforms/org-netbeans-api-java-Platform/J2ME_Wireless_Toolkit_2_2.xml Then start the IDE, emulator will get installed again and will be working. 3) If you do not want to delete that, you can use more complicated way: Go to $USER_HOME/.netbeans/4.1/emulators/wtk22_linux/emulator/wtk22/bin/ and fix executables (.bat) files like this javapathtowtk=/usr/java/jdk1.5.0_03/jre/bin
verifying all old issues