Need help with java
I can't seem to get Varsha to launch. It is a .jar file that normally executes with this command:
java -jar varsha.jar I made sure to install the jre package (to /opt/java/jre1.5.0_01). I also opened up my bash.rc file and added this: JAVA_HOME=/opt/java/jre1.5.0_01/bin PATH=$JAVA_HOME/bin:/$PATH:/opt/java/jre1.5.0_01/bin But when I launch the java command I get this error: bash: java: command not found What am I doing wrong? I also get this response when I type "java" alone Thanks!! |
Hi!
Try to create a symlink the java path to your /usr/bin. Like this: ln -s /opt/java/jre1.5.0_01/bin/java /usr/bin/java I'm also not sure why, but exporting the path not always work for me :S Good luck! |
Thanks!!!!!!!!!!!!!!!
That worked. I really needed to get this program running by today. |
You're welcome ;)
|
All times are GMT -5. The time now is 06:42 PM. |