View Single Post
  #2   Spotlight this post!  
Unread 16-05-2009, 00:15
timothyb89 timothyb89 is offline
code monkey
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2009
Location: Loveland, Colorado
Posts: 45
timothyb89 will become famous soon enough
Re: Emulator Trouble

Try setting your JAVA_HOME variable first. For example:
Code:
$ export JAVA_HOME=/path/to/jdk
$ javaws http://www.sunspotworld.com/SPOTManager/SPOTManager.jnlp
If that doesn't work, try linking Lenny's install location to the standard Java location (they're generally different):
Code:
# mkdir -p /usr/java/
# ln -s /path/to/jdk/ /usr/java/latest
If that's still not working, make sure you've really got the JDK installed and in your PATH:
Code:
$ javac -version
If you get "command not found", then you might need to play with your PATH and verify you really installed (Sun's) JDK.

If you still aren't having luck, post the output of the following commands:
Code:
$ java -version
$ whereis java
Good luck!
Reply With Quote