Powered by Blogger.

Friday, October 8, 2010

INSTALL & USE YOUR OWN JDK ON LINUX

We know that all distros give us JDK in the installation media. If you want to install your own JDK and use it,here is one trick that i hope will help you.
Set the PATH environment variable.

If your installed JDK is on the /home/xyz/JDK directory and you want to enable it, follow the steps given below.

Log in as the root user on the shell prompt and type the following command:

export PATH=/home/xyz/JDK/bin:$PATH

Put this command in the /etc/bashrc file and restart your terminal.

0 comments

Post a Comment