| View previous topic :: View next topic |
| Author |
Message |
Burim
Joined: 17 Jan 2009 Posts: 2
|
Posted: Sat Jan 17, 2009 1:56 am Post subject: S60 Integration |
|
|
Hi all,
I'm new with NetBeans and am trying to integrate it with s60.
I installed the S60 3rd Edition FP1 SDK for MIDP platform and
then changed my project configuration to use it.
But when i try to build the project i get the following error:
Error loading class Files\s60\devices\S60_3rd_MIDP_SDK_FP1\bin\preverify2.exe
Error preverifying class hello.HelloMIDlet
java/lang/NoClassDefFoundError: javax/microedition/lcdui/CommandListener
C:\Documents and Settings\burim\My Documents\NetBeansProjects\MobileHelloWorld\nbproject\build-impl.xml:475: Preverification failed with error code 1.
BUILD FAILED (total time: 1 second)
I would greatly appreciate any help.
Thank you in advance,
Burim
 |
|
| Back to top |
|
 |
a_pihl
Joined: 17 Feb 2009 Posts: 1
|
Posted: Tue Feb 17, 2009 1:33 pm Post subject: |
|
|
Hi!
I'm no expert, but I think I can help you with this problem. You've probably installed the SDK in the "C:\Program Files\" folder. The problem with this is that somewhere in this process there is probably a program started where the location of the preverify2.exe file is sent as an Command-Line argument. And these are separated by spaces. So "C:\Program" is considered one argument, and "Files\s60\devices\S60_3rd_MIDP_SDK_FP1\bin\preverify2.exe" another.
If you put the SDK directly in "C:\", or at least in a folder that doesn't have any space in it's name, it should turn out OK.
I hope you get it to work!  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|