Results 1 to 7 of 7
Thread: editing path & classpath
-
08-02-2002, 05:38 PM #1Junior Guru Wannabe
- Join Date
- Oct 2001
- Posts
- 72
editing path & classpath
Hi,
I need to add directory paths to the PATH and CLASSPATH environment variables on the server.
Can anyone tell me how to that?
Thank you,
Chris
PS: to be exact, this is what I was told to do, I just don't know how to:
---------------
1) Add the directory /classes/jdk1.2.2/bin to the PATH environment variable on the server.
2) Add the directory /classes to the CLASSPATH environment variable
on the server.
Both of these directories are relative to the home directory.
---------
-
08-02-2002, 07:24 PM #2Junior Guru Wannabe
- Join Date
- Jul 2000
- Location
- Costa Mesa, California
- Posts
- 76
Hello
Check out the file /etc/profile.d/java.sh .
Mike
-
08-02-2002, 07:47 PM #3Junior Guru Wannabe
- Join Date
- Oct 2001
- Posts
- 72
hmm, I don' t have a java.sh in /etc/profile.d/
Would path and classpaths be edited in a java.sh file?
Chris
-
08-02-2002, 09:43 PM #4Junior Guru Wannabe
- Join Date
- Jul 2000
- Location
- Costa Mesa, California
- Posts
- 76
We have tomcat and jdk 1.3.1 installed . What happens when you type $CLASSPATH ?
MIke
-
08-02-2002, 11:00 PM #5Junior Guru Wannabe
- Join Date
- Oct 2001
- Posts
- 72
Nothing.
-
08-03-2002, 05:08 AM #6Premium Member
- Join Date
- Mar 2001
- Location
- Ireland
- Posts
- 1,354
You can create a java.sh in the profile.d using pico.
I presume you are trying to setup some kind of Java on your server.
If you download the JDK/SDK from sun and follow the installation instructions, create the java.sh and logout. Log back in and you should have the JVM in your pathBlacknight
ICANN accredited domain registrar
-
08-03-2002, 01:38 PM #7Junior Guru Wannabe
- Join Date
- Oct 2001
- Posts
- 72
Got it
Someone else installed the jdk for me, did not put the java.sh in, I did a little research, found what needed to go into java.sh, made it executable, and it works.
Thank you all for helping me figure out what to do~
Chris