Instead of step 4: 4. mkdir -p /usr/lib/jvm /usr/bin/java /usr/bin/javac /usr/bin/javaws
Just use
$mkdir -p /usr/lib/jvm
and make sure you move the files to usr / lib / jvm, for this use
$mv -v jre1.6.0_34 /usr/lib/jvm/
so that you can see the details, and after installation, change the configuration of java and javaws to:
$update-alternatives --config java
choose from the option similarly,
$update-alternatives --config javaws
this should work if you already have other java installed
lsunny
source share