This content has been marked as final. Show 3 replies
im running on linux, so i have a gnu virtual machine and i dont know if netbeansThe command
install other virtual machine, how can i know wich virtual machine is using
java -versionwill tell you what version of runtime you are using. It is really important
not to use GNU's.
The errors you are reporting are quite strange. Perhaps you should recompile the
whole thing outside of NetBeans. Sun's Tutorial describes how classes can be
combined to form an executable jar file here:
Apart from anything else, using the command line to build the jar file will enable you
to describe your problem more precisely.
im using GNU virtua machine how can i change settings to use JDK virutal machine instead?....
On my system there was a link inside /usr/bin that pointed to the GNU runtime. When
I installed java I removed it and replaced it with one that pointed to Sun's.
pbrockway@linuxdeskd6off:/usr/bin$ ls -l java*The idea is that when you execute a command like "java" the OS will look on
lrwxrwxrwx 1 root root 22 2007-02-25 08:35 java -> /opt/jdk1.6.0/bin/java
lrwxrwxrwx 1 root root 23 2007-02-25 08:35 javac -> /opt/jdk1.6.0/bin/javac
its path and find /usr/bin/java, it will then follow the link and use the correct java