[Java] Installing Java on Debian Linux
Hi all,
I want to install Sun JDK on my Debian Linux system and installed it in /opt by downloading the appropriate .bin file and running it. I also added the path of my Java installation to the PATH variable. But still, when I use 'java' command, gcj is being used.
I did a 'which java' and it showed /usr/bin/java which was a symbolic link to /etc/alternatives/java. How can I make Sun JDK the default without disturbing gcj or removing or modifying the symbolic link?
Thanks in advance.
|