/path/to/jre1.6.0_34/bin/pack200
remove the directory that is parent of bin, like this: sudo rm -rf /path/to/jre1.6.0_34
.update-java-alternatives
to switch to the Sun java packages. java -version
to get yours. So if your version is 1.7.0_03, you would type sudo update-alternatives --remove 'java' '/usr/lib/jvm/jdk1.7.0_03/bin/java'
)/usr/lib/jvm/java-7-oracle