Everything on this site comes without any warranty!
Lucid
Ubuntu Lucid (version 10.04, long term support)
Installing java 6 on Ubuntu Lucid (10.04)
Submitted by admin on Sat, 06/26/2010 - 10:51To install Sun/Oracle java 6 on Ubuntu Lucid do the following in a Terminal window:
sudo apt-get install sun-java6-jre sun-java6-fonts sun-java6-bin sun-java6-plugin
If this says: E: Package sun-java6-jre has no installation candidate then do:
sudo bash -c " echo 'deb http://archive.canonical.com/ubuntu lucid partner' >>/etc/apt/sources.list "
sudo apt-get update
And try again.
When you have installed the packages you should do:
sudo update-java-alternatives -v -s java-6-sun
Fixing the buttons in the title bar
Submitted by admin on Sun, 03/28/2010 - 22:00Suddenly the buttons in the title bar all shifted to the left. To restore the old situation run:
gconftool-2 --set "/apps/metacity/general/button_layout" --type string "menu:minimize,maximize,close"