Giving Permisson & setting JAVA_HOME in unix

for giving permisson

 chmod u+x processName

Set JAVA HOME in UNIX in different shell

To set JAVA_HOME, do one of the following:

  • For Korn and bash shells, run the following commands:

    export JAVA_HOME=jdk-install-dir

    export PATH=$JAVA_HOME/bin:$PATH

  • For the bourne shell, run the following commands:


    export JAVA_HOME


    export PATH

  • For the C shell, run the following commands:

    setenv JAVA_HOME jdk-install-dir

    setenv PATH $JAVA_HOME/bin:$PATH

    export PATH=$JAVA_HOME/bin:$PATH


Popular posts from this blog

Conversion from Clob To String in java and Vice versa

Portable Java 8/ JDK8 setup without admin rights

Multi Threading , Producer consumer problem in Java