rokytnji

Java install from java bin from java site download

Nov 4th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. Re: i need to get java 6 update 11
  2. Quote:
  3. Originally Posted by aszxcv View Post
  4. i need to get java 6 update 11
  5.  
  6. i am on 8.04 ubuntu.
  7. i used sudo apt-get install sun-java6* awhile back but i got java 6.07 version.
  8. By coincidence i had a friend visiting tonight with exactly the same question. Ubuntu Hardy and needing the Java 6 update 11
  9.  
  10. After quite some fiddling around i've managed to get it working.
  11.  
  12. Here are instructions based on the java.com instructions here :
  13. http://www.java.com/en/download/help...selfextracting
  14.  
  15. However those original instructions are :
  16.  
  17. 1) Outdated
  18. 2) Mistaken, because it contains a serious typo!
  19. (Because there's a space in the symlink part in the end which shouldn't be there)
  20.  
  21. ========================
  22.  
  23. 1. Open a terminal
  24. 2. Remove sun-java5-plugin and sun-java6-plugin packages :
  25.  
  26. sudo apt-get remove --purge sun-java5-plugin sun-java6-plugin
  27.  
  28. 3. Make a new directory called /usr/java :
  29. sudo mkdir /usr/java
  30. cd /usr/java/
  31.  
  32. Move your downloaded file jre-6u11-linux-i586.bin
  33. to the /usr/java/ directory
  34. For example :
  35. sudo mv /home/steve.b/Desktop/jre-6u11-linux-i586.bin /usr/java/
  36.  
  37. 4. Change the permission of the file you downloaded to be executable.
  38. sudo chmod +x /usr/java/jre-6u11-linux-i586.bin
  39.  
  40. 5. Verify that you have permission to execute the file. Type:
  41. ls -l
  42.  
  43. 6. Start the installation process.Type:
  44. sudo sh ./jre-6u11-linux-i586.bin
  45.  
  46. This displays a binary license agreement. Read through the
  47. agreement. Press the spacebar to display the next page. At the end,
  48. enter yes to proceed with the installation. Type YES to agree to the
  49. license agreement
  50.  
  51. 7. When the installation has completed, you will see the word Done.
  52. The installation completes
  53.  
  54. cd /usr/lib/mozilla/plugins/
  55. sudo ln -s /usr/java/jre1.6.0_11/plugin/i386/ns7/libjavaplugin_oji.so
  56.  
  57. That's it.
  58.  
  59. Restart firefox, and type : about:plugins
Add Comment
Please, Sign In to add comment