Cannot seem to get Java working in my path
I have been having problems trying to get Java working in my path. If I cd to the Java directory and then run java <file> it will then start, but will complain about not having the proper class files for the application.
I have been having problems trying to get Java working in my path. If I cd to the Java directory and then run "java <file>" it will then start, but will complain about not having the proper class files for the application. I figured this was because the application (a Samba GUI app) was not being executed while I was in the directory, and I decided to append the Java dir to the end of my .bashrc. Well, it isn't working. Here is my .bashrc:
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export PATH=$PATH:/usr/java
The path ammendment does not work either from the command line or with this file adjustment. Anybody have an idea on how to correct this?
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export PATH=$PATH:/usr/java
The path ammendment does not work either from the command line or with this file adjustment. Anybody have an idea on how to correct this?
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.