File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

java.lang?

Alien BabyClone
Greenhorn

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
    
    6
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang?