Wednesday, August 31, 2011

Uninstall XCode

sudo <XcodeDir>/Library/uninstall-devtools --mode=all
<XcodeDir> is the Xcode installation directory. Such as /Developer.

Monday, August 29, 2011

How to install Sun Java SDK on Ubuntu 1104

$sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
$sudo apt-get update
$sudo apt-get install sun-java6-jre sun-java6-plugin
$sudo apt-get install sun-java6-jdk
$sudo update-alternatives --config java

if your add-apt-repository is not installed

$sudo apt-get install python-software-properties