Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help enabeling java

Status
Not open for further replies.

quaked2023

Technical User
Jan 22, 2004
105
MX
hello

this is the first time i use linux mandrake and i don't know how to enable java, i found this page but i can't enable it i don't know what it means when it says: "This file, java.sh, simply add the path to the java installation on your linux system." What path???? please help me

Thanks

-The Only Privacy Left Is The Inside Of Your Head!- QUAKED2023
 
Your path, or the system path.

as root:
edit /etc/profile

add the lines:
export JAVA_HOME=/your/path/to/java
export PATH=PATH:$JAVA_HOME/bin

save.
After rebooting try:
java -version

To use the values without reboot, you have to type the commands on the commandline - on every, if you open multiple terminals. (xterm, console, ...)



seeking a job as java-programmer in Berlin:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top