LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is Java Installed Properly (https://www.linuxquestions.org/questions/linux-newbie-8/is-java-installed-properly-435889/)

tahirghafoor 04-17-2006 03:25 AM

Is Java Installed Properly
 
While installing an application i am receiving JAVA CLASSPATH error, how can i check if JAVA is intalled properly and how to Check and reset CLASSPATH variable.
Regards,

Tahir

coolb 04-17-2006 03:32 AM

if you added the java plugin to you browser go to java.com and say 'verify my installation'

nguyennh 04-17-2006 03:34 AM

Check installed JAVA : which javac or locate javac or find / -name javac

Set CLASSPATH variable :
export CLASSPATH=<your specified path>

KID.

Michael_aust 04-17-2006 07:48 AM

when i installed the sun jdk or sdk I had to manually make the system lnks manually you need to make a system link from /usr/java/bin to /usr/bin and the systems links you need to amke are javac (if you have installed the jdk) and java (needed for both the jre and jdk).

the when you do java -version and javac -version in a terminal it will tlel you if it has install ok.

I had to do the abopve when I was using mandriva.


All times are GMT -5. The time now is 09:24 PM.