Monday, June 14, 2010

Downgrade Java after Ubuntu upgrade

I found myself so many times having to change Java version back to 1.5 after an Ubuntu upgrade/update that I decided to document it this time (a friend was facing the same issue)
sudo rm /usr/bin/java
sudo rm /usr/bin/javac
sudo ln -s /usr/local/jdk1.5.0_15/bin/java /usr/bin/java
sudo ln -s /usr/local/jdk1.5.0_15/bin/javac /usr/bin/javac

No comments: