Installing JDK in Linux
How to install JDK in Linux?
Explanation
Installing JDK in Linux:
- Just follow the steps for Linux
- Say, java is installed at /usr/local/jdk1.4.2
- Use the following commands for the "Bash Shell", a common one for Linux.
- export JAVA_HOME=/usr/local/jdk1.4.2
- export PATH=$JAVA_HOME/bin:$PATH
- echo $PATH
- /usr/local/jdk1.4.2/bin/usr/local/bin:/bin:/usr/bin
- echo $JAVA_HOME