FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

S60 Integration

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
Burim



Joined: 17 Jan 2009
Posts: 2

PostPosted: Sat Jan 17, 2009 1:56 am    Post subject: S60 Integration Reply with quote

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
Question
Back to top
View user's profile Send private message
a_pihl



Joined: 17 Feb 2009
Posts: 1

PostPosted: Tue Feb 17, 2009 1:33 pm    Post subject: Reply with quote

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! Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB