![]() |
Installing Java ok. ive followed the instructions that were posted to the board.when i echo $PATH i get /usr/local/bin:/bin:/usr/x11r6/bin:/home/moe/bin when i echo $JAVA_HOME i get nothing when i followed the instructions the first time i got a location when i did echo $JAVA_HOME when i do which java i get /urs/bin/which: no java in /usr/local/bin:/bin:/usr/x11r6/bin:/home/moe/bin when i do java -version i get bash: java: command not found what do i do thanx |
First... Remove kaffe or jdkgcj from your system if they exist. Second... Install the latest java rpm or bin (i.e. j2sdk1.4.1 or whatever is clever). Third... The order of creating proper java variable paths should be entered in this order after the PATH variable in .bash_profile or .bashrc: export JAVA_HOME=/usr/java/j2sdk1.4.1_02 export PATH=$JAVA_HOME/bin:$PATH Fourth... A nice typed command: source ~/.bash_profile or source ~/.bashrc Test... java -version which java HTH altoine |
All times are GMT -7. The time now is 01:27 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.