Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Linux Newbie - Installing Java on Mythbuntu


    Can anyone advise how to go about installing Java on Mythbuntu please as confused with the instructions found however am a Linux Newbie therefore please excuse my ignorance.

    Is there something missing between step 3. and 4. as the .bin file has been downloaded into the Downloads folder and not the usr/java folder? Does the download need to be copied into the latter?

    3. Change to the directory in which you want to install. Type:
    cd <directory path name>
    For example, to install the software in the /usr/java/ directory, Type:
    cd /usr/java/

    Note about root access: To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the Java in your home directory or a subdirectory for which you have write permissions.

    4. Run the self-extracting binary Type:

    Thank you for your help.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    You should be able to install Java via the package manager with either Synaptic or apt-get.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Quote Originally Posted by Rubberman View Post
    You should be able to install Java via the package manager with either Synaptic or apt-get.
    Thank you.

  4. $spacer_open
  5. #4
    $ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

  6. #5
    I would think, if not root, then java*bin will create the directory structure from where is is run. if it is run from /home/me/usr/java all it's necessary subdirectories will be built under the dir java. I would also think you would have to add the bin folder of java ie java/bin to your path.
    I think this would be ok if you alone need java on your system.

  7. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    NH, USA
    if you're using 10.04 you will need to do this
    Install sun-java6-jdk on Ubuntu 10.04 (Lucid)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts