• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

java.lang?

 
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!
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your JAVA_HOME set to /Library/Java/Home ?
 
sharp shooter, and author
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
 
What a show! What atmosphere! What fun! What a tiny ad!
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!