Installing JDK in Linux
How to install JDK in Linux?
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
- echo $JAVA_HOME