Tahrpup 6.0.5 Java install via Bash Terminal
So I am using the usb bootable version of tahrpup and I was in the Bash terminal. Tahrpup gives you a package manager and I updated and installed the jre, the default and the newest one. So I went to the terminal and tried to run a .jar file using the java command but it gave me an error saying "java command not found." The indicator is that I havent installed java. Being a new linux user I am a bit confused. How can I install Java so that it will run .jar files? Is it through the bash terminal? Thanks!
P.S. Sorry if there is another thread about this but I didnt see one. |
How are you trying to run the file? What is the exact error?
|
well I used the cd to go to the my documents file directory (from the terminal) and the error looks like this:
root# java -jar OSBuddy.jar bash: java command not found |
Maybe try operating the system as a normal user instead of root. And, try
Code:
$ locate -A java lib |
All times are GMT -5. The time now is 10:23 PM. |