Posted by blossompark
on March 2, 2010 at 1:31 AM PST
I am doing the J2ME tutorial here:
I'm on step 3:Compile
My problem is I am unable to compile the DateTimeApp.java file,
I get a fatal error:Fatal Error: Unable to find package java.lang in classpath or bootclasspath (see below)
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
c:\WTK22\article>javac -bootclasspath ..\lib\cldcapi11.jar;..\lib\midpapi20.jar com\j2me\part1\DateTimeApp.java
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
I think the issue is that the compiler cannot find the JRE... i have checked my CLASSPATH variable entries (see below)
and they seem ok to me, (cldcapi11.jar and midpapi20.jar are located at C:\Java_ME_platform_SDK_3.0\lib and at C:\Program Files\Java\jdk1.6.0_18\lib).....
I have also mirrorred the directory structure used in the tutorial...any pointers or advice greatly appreciated..thanks ...incredibly frustrating!!!!...