The moose likes Mac OS and the fly likes java.lang? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "java.lang?" Watch "java.lang?" New topic


Alien BabyClone

Joined: Mar 26, 2004
Posts: 1
Is this just a simple environment variables issue...?
I'm trying to get leJOS (a Java-based OS for LEGO Mindstorms) to work on OS X. After successfully (or so it seems) installing the OS X version, I get this error when trying to compile a program (using lejosjc instead of javac):

However, I did add /Library/Java/Home/ and even /Library/Java/Home/bin to PATH and CLASSPATH.
I really appreciate any help. Thanks!
Loren Rosen
Ranch Hand

Joined: Feb 12, 2003
Posts: 156
Is your JAVA_HOME set to /Library/Java/Home ?
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
I agree, make sure that your JAVA_HOME is set as above.
By the way Alien, we have a naming policy down here on the ranch where we like everybody to use real names. You can edit your profile here.
It is sorta covered in the JavaRanch Style Guide.
subject: java.lang?
Similar Threads
putenv ?
Tomcat 6 install on Mac 10.5.5
How do I start Tomcat under iMac command shell
Java system libraries visability in eclipse
javax.servlet does not exist