• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot compile

 
uneeb ishtiaq
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear guys plz help me i m using jdk1.3.1 with j2mewtk but when i compile with this command at the command prompt
C:\jdk1.3\bin>javac -g:none -bootclasspath %SUNJ2MEHOME%\lib\midpapi.zip -bootclasspath %SUNJ2MEHOME%\wtklib\kvem.jar HelloWorld.java
I get this error message
Fatal Error: Unable to locate package java.lang in classpath or bootclasspath
the sunj2mehome variable is set to c:\j2mewtk
some one plz help me on the correct command or way to compile
 
sameet bm
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the build command from the toolkit instead
of trying to compile it from the command prompt
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic