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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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.
I agree. Here's the link:
subject: java.lang?
It's not a secret anymore!