![]() |
Java not installing! AHHHHHHHHHHHH ok, I have downloaded the sun version of java. I have followed the steps on this forum to the tee. I have even installed the sdk version also. in bash, when i type java -version i get a not a command error. in bash when i type which java, i get a no java error followed by a string of dir in my system. I have tried to install the java files again but the system tells me that they are aready running. How do i need to fix this? Also are there any other types of jvm that will work? Thanks |
ln -s /usr/java/j2re1.4.1_01/bin/java /usr/sbin |
The ln -s will get you going. You can also put java in the PATH variable. Here is how: After you have succesfully installed Java, you need to make it accesible by modiying the PATH variable to include the java directory in the path. There a several way to do this. I prefer to make it a system wide change so I modify /etc/profile to have a line like this PATH=<javadirectory>:$PATH where <javadirectory> is where java got installed. The directory will be different according to the version you installed. To find out do this command: find /usr/ -name "*j2*" The java directory will j2re- in the name. <javadirectory> must be fully qualified so it should look something like: /usr/java/j2re-bla,bla,bla... Note: If you installed from the self extracting instead of the rpm, you migh have installed java in some other directory like /usr/local/. |
All times are GMT -7. The time now is 07:30 PM. |
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.