Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issues running javac for J2ME under WIN98

Status
Not open for further replies.

kasuals

Programmer
Apr 28, 2002
100
US
I have just recently downloaded the J2ME toolkit, and have attempted to compile one of my midlets. For some reason, I get an invalid argument error when defining my -classpath.

(I have path variables setup for this, but I'll write it out for you so you understand where I'm going with these)

>javac -g -d tmp -bootclasspath c:\j2mewtk\lib\mdpapi.zip -classpath c:\j2mewtk\lib\kenv.zip;c:\j2mewtk\lib\kvem.jar;c:\j2mewtk\lib\lime.jar TestMidlet.java

For some reason it outputs invalid argument: c:\j2mewtk\lib\kenv.zip;c:\j2mewtk\lib\kvem.jar;c:\j2mewtk\lib\lime.jar

Last I checked, that wasn't an invalid argument.

Any ideas?

 
Could it be -bootclasspath? I thought that was an arguement for java, not javac
 
If you're using J2ME, you have to force it to ignore the J2SE classes... and bootclasspath is one of them... I dunno... I'm getting pretty frustrated. - "Delightfully confusing..." raves The New York Times

-Kas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top