Last update on .

I was told that a good thing to do is to create a .sh and .csh file in /etc/profile.d. The .sh file should have these two lines in them:


    export JDK_HOME=<path to your jdk implementation — mine is /usr/java/j2sdk1.4.1_01>
    export PATH=$PATH:$JDK_HOME/bin

My guess at what the .csh file should look like is this:


    setenv JDK_HOME=<path to your jdk implementation — mine is /usr/java/j2sdk1.4.1_01>
    setenv PATH=$PATH:$JDK_HOME/bin

This sets the path variables for all users on the system with .sh and .csh shells, and it creates the JDK_HOME variable which some programs need to function.

Pingbacks

Pingbacks are closed.

Comments

Comments are closed.