| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Apr 2004
67 posts
Gave thanks: 0
Thanked 0 times
|
Java Version?
Im trying to install this
http://www.electrotank.com/ElectroServer/ But im getting error b/c it cant find java or I dont have the correct version Below is what im suppse to do. I tried the command below and it didnt work. So how do i check to see what version of java im running and where is it located? Code:
OK, you need to find out what version of java is on the server I think the command is: java -version if it doesn't match 1.4.2 or higher you need to download a new version from java.com there are two versions download the JRE unless you are planning on developing java apps. You need to set the java enviroment: create a file named java.sh in /etc/profile.d with the following content: export JAVA_HOME=/usr/local/java export PATH=$PATH:$JAVA_HOME/bin export CLASSPATH=$JAVA_HOME/lib use the paths to your java install the one above is an example |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|