how do I set a path for my java command line tools
I have the java sdk installed on my system but I don't know how to set a path for the command line tools. I want to be able to run the java, javac and appletviewer executables without having to type in the location every time I do it....it gets frustrating
|
If you're using Bash:
# export PATH=$PATH:/my/path/to/my/javasdk/bin If you don't want to type that every time you log in, open the file ~/.bash_profile in your text editor and add ":/my/path/to/my/javasdk/bin" to the export PATH command, which you find in that file. HTH |
All times are GMT -5. The time now is 09:34 AM. |