• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang?

 
Alien BabyClone
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your JAVA_HOME set to /Library/Java/Home ?
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic