LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to set classpath for jdk (https://www.linuxquestions.org/questions/linux-software-2/how-to-set-classpath-for-jdk-57609/)

jolly 05-01-2003 05:07 AM

How to set classpath for jdk
 
I have installed the jdk-1.2 rpm java is in /usr/java
How do I setup the classpath for java and test if jdk is installed.

Thanks

acid_kewpie 05-01-2003 05:25 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

membrax 05-01-2003 05:31 AM

in console type :
$ which java

if you get this :
/usr/bin/java

then it's nicely installed

jolly 05-01-2003 05:56 AM

Which java is not working
:(

acid_kewpie 05-01-2003 05:58 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


please do not reply to this thread, use the other one, thanks

Ju Deddo Koinu 05-01-2003 08:48 AM

code:
-----
[root@cs6625135-156 etc]# which java
/usr/java/j2re1.4.1_02/bin/java
-----

It lets me execute the command.... But my java isn't working according to other programs (which I am working on getting installed.... Java still claims it can't find itself or something insane - heh)


All times are GMT -5. The time now is 03:35 AM.