How to configuring Java Environment on Linux?

Java Programming Java8Java Technologies Object Oriented Programming

Assuming you have installed Java in \usr\local\java\jdk directory −

if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export JAVA_HOME=\usr\local\java\jdk'

Assuming you have stored your Java programs in \usr\local\myprograms\ directory −

if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export CLASSPATH=\usr\local\myprograms\'.

raja
Published on 19-Jan-2018 17:26:39
Advertisements