Vous êtes sur la page 1sur 2

J2ME Netbeans X.

X Frequent Errors & Their Solutions


Error: Execution failed with error code 1 Reason: When your Netbeans is not able to find any suitable SDKs of mobility profile which has been set. Solution: Install latest i.e. 3.4 SDK version of J2ME which is available at http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html (You need to register to Oracle to download the SDK). It is simple installer file which you have install in your suitable location. The plugins are also there to download for Netbeans, Also try to install those plugins for netbeans which you can do by going Tools->Plugins->Downloaded option->Add Plugins in your Netbeans IDE. After completion of installation process described above, you need to change the platform of your project. Once you have installed the JavaME SDK correctly & have configured your project with right plateform you are good to go.

Details: http://forums.netbeans.org/topic22549.html http://stackoverflow.com/questions/16094938/build-impl-xml913-execution-failed-with-error-code-1j2me/19001697#19001697 http://www.vbforums.com/showthread.php?605685-RESOLVED-Netbeans-6-8-Execution-Failed-With-Error-Code-1


WCMP J2ME BE-7th Sem Vintesh Patel SCET

J2ME Netbeans X.X Frequent Errors & Their Solutions


Error: Project Creation Error NullPointerException Sometimes Error Says-Node.java/Tree.java or something like that Reason: Multiple versions of Netbeans can lead to unmanaged user profile settings which stores user configurations in XML files & those files are corrupted & you need to reset it. Solution: Preferred that before you delete this you have taken backup of all of the content. So that you can restore if necessary. Remove/Delete the user settings by deleting the folder For Windows XP User settings folder is which you need to delete is, C:\Documents and Settings\<Username>\Local Settings\Application Data\Netbeans\ For Windows 7 User settings folder is which you need to delete is, C:\Users\<Username>\AppData\Roaming\NetBeans Delete all folders in this current folder & try. There may be 2 folders for your login i.e. <username> & <username>.Remote or something like that you have to check in both. If still no success then you better uninstall all versions of Netbeans & install the latest one. Details: http://wiki.netbeans.org/FaqWhatIsUserdir http://stackoverflow.com/questions/8689780/how-to-clear-the-cache-in-netbeans

Error: Library/Reference Missing Errors Reasons: You may not have selected the correct CLDC & MIDP versions for the project or there is no J2ME SDK installed. Solution: Go to Project Properties & Check option Platform & Correct your CLDC & MIDP versions. Sometimes you need to change the Emulator of the Cell Phone/Handset.

* If still anyone have some difficulties then you can always ask or just do email.

WCMP J2ME BE-7th Sem Vintesh Patel SCET

Vous aimerez peut-être aussi