View Single Post
  #4   Spotlight this post!  
Unread 16-05-2009, 21:59
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

Check your NetBeans configuration (Tools > Java Platforms) for your real Java installation. Then, uninstall the JRE from the package manager, open up your ~/.bashrc in gedit/kwrite/whatever. Then add the following to the bottom:

Code:
export JAVA_HOME=/path/to/jdk/dir
export PATH=$PATH:$JAVA_HOME/bin
Save and logout/in.

If you're still having issues, download Sun's JDK from http://java.sun.com (not the RPM version). Save it in /usr/java, and execute it (the .bin installer) there (as root):
Code:
# sh whatever.bin
It should extract itself. Then modify the bashrc to change JAVA_HOME to /usr/java/newJavaInstall. Additionally, make sure you uninstall any Java packages via apt/synaptic/whatever to avoid path conflicts.

Good luck!

Last edited by timothyb89 : 16-05-2009 at 22:36.
Reply With Quote