1

Error thrown in update-alternatives

view story
linux-howto

http://stackoverflow.com – I am trying to install jdk for 32-bit OS. Followed the below steps, 1. wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" http://download.oracle.com/otn-pub/java/jdk/6u38-b05/jdk-6u38-linux-i586... 2. chmod u+x jdk-6u34-linux-i586.bin 3. ./jdk-6u34-linux-i586.bin 4. mkdir -p /usr/lib/jvm /usr/bin/java /usr/bin/javac /usr/bin/javaws 5. mv jdk1.6.0_38 /usr/lib/jvm/ 6. update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_38/bin/java" 1 7. update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0_38/bin/javac" 1 8. (HowTos)