Results 1 to 7 of 7
  1. #1
    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.

    ---------

  2. #2
    Join Date
    Jul 2000
    Location
    Costa Mesa, California
    Posts
    76
    Hello

    Check out the file /etc/profile.d/java.sh .

    Mike

  3. #3
    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

  4. #4
    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

  5. #5
    Join Date
    Oct 2001
    Posts
    72
    Nothing.

  6. #6
    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 path
    Blacknight
    ICANN accredited domain registrar

  7. #7
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •