Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Can't Install Java - Please Help

  1. #1
    Join Date
    Jul 2008
    Location
    /home/US/WA/Seattle/
    Beans
    225
    Distro
    Ubuntu 13.10 Saucy Salamander

    [SOLVED] [RESOLVED] Can't Install Java - Please Help

    Hey there!

    First off, I want to say I am impressed - very - by Ubuntu. I have only been using the Live CD for a few days and it's so easy and such a pleasure to use!

    However, I have a problem install sun-java5 and 6-jre and sun-java 5/6-bin both using the Terminal and Synaptic Package Interface. The packages both have errors and I suck at Terminal type apps except Lynx.

    I type in sudo get-apt sun-java5-jre.bin and there's an error. With downloaded software it's impossible, I can't understand it at all. Should I download program in folder where I install it? I don't know. I tried googling how to install ubuntu apps and the directions confused me. *sigh*

    So if someone help me could I would be SO grateful.

    ALSO - I can't get videos in VLC. Codecs, I did download but no luck! Same with the default. So what should I do?

    Thank you so much!
    -bobby
    P.S. - I am sorry if my English is bad. I am oral Deaf and my English gets bad when I'm tired.

    ETA: It's now just the jre bin that not work.

    ETA 2 - got everything figured out, just want to find out what happened with bin?

    And how to install a new game thats not on the database like hearts or something? folder which?
    Last edited by iaskedalice09; July 15th, 2008 at 11:15 PM.

  2. #2
    Join Date
    Sep 2007
    Location
    Singapore
    Beans
    89
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Can't Install Java - Please Help

    Welcome to Ubuntu

    You do not need to tyep the ".bin" extension if you are using app-get command in the terminal.

    Type this in your terminal:

    sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

    It should do the trick.

    Installing Ubuntu applications is different from Windows, you do occasionally download ".deb" extension file and double click it like in Windows for the installation, but most of the time you will probably do it via Synaptics or apt-get.

    Using Synaptics and apt-get will install the files automatically, and you will not see a installer program for the application as in Windows.

    Try to stick to Synaptics/ apt-get and ".deb" installation method for now, as you progress and learn more about Linux, you will be more confident to tackle ".bin", ".rpm", or compiling from source.

  3. #3
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Can't Install Java - Please Help

    Code:
    sudo get-apt sun-java5-jre.bin
    Well, that's not the name of the package....

    search for the proper name:
    Code:
    apt-cache search sun-java5

  4. #4
    Join Date
    Dec 2007
    Beans
    103

    Re: Can't Install Java - Please Help

    For the Java thing, Try to download it from here and if you will go to the bottom of the page, there will be instractions there.

    For the video thing, I would recogmend on Mplayer.
    See this to install with all the codecs:
    http://ubuntuforums.org/showthread.php?t=558538


    Good luck. =]
    DO NOT USE RM COMMANDS!!! Click Here for more information.
    Linux & Metal FTW
    See ya at Ubuntu.

  5. #5
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Can't Install Java - Please Help

    why do you point to another site for downloading it when it's in the repos?

  6. #6
    Join Date
    Nov 2007
    Location
    New Zealand
    Beans
    1,026
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't Install Java - Please Help

    Quote Originally Posted by hyper_ch View Post
    why do you point to another site for downloading it when it's in the repos?
    Yeah, go with the repos.

    Use the Sun version of Java and not the OpenJDK (its really not ready yet).

    I use Sun Java 6 and its just fine.

    Go to Add / Remove applications, select "Show: All available applications", then search for "sun". You should then get "Sun Java 6 Runtime" near the top of the search results list. Select it and install.

    (No command line required )

    As for the Java browser plug in. If you navigate to a website that uses Java the browser will prompt you to install the plugin.

    Like this one.
    http://www.w3.org/People/mimasa/test/object/java/clock

    Just remember to restart the browser after the plug in install

  7. #7
    Join Date
    Jul 2008
    Location
    /home/US/WA/Seattle/
    Beans
    225
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Can't Install Java - Please Help

    I'm still stuck on how to install apps that are downloads. What should I do?

  8. #8
    Join Date
    Jul 2008
    Location
    /home/US/WA/Seattle/
    Beans
    225
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Can't Install Java - Please Help

    Oh, and thanks so much for all your help!

  9. #9
    Join Date
    Sep 2005
    Location
    Mexicali, Mexico
    Beans
    3,114
    Distro
    Ubuntu Development Release

    Re: Can't Install Java - Please Help

    Hi. Is there a particular reason you want Java 5 instead of 6? Do you have Ubuntu 32 bit, or 64? What error messages do you get? Try:
    Code:
    sudo aptitude install sun-java6-bin sun-java6-jre sun-java6-plugin sun-java6-fonts
    If you get errors, please post them.
    NOT a morning person...

  10. #10
    Join Date
    May 2006
    Location
    Wichita, Kansas
    Beans
    2,967
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Can't Install Java - Please Help

    Clarification, please; you posted that you had been running from the Live CD for a few days. Are you still running from the Live CD, or have you installed the o/s on your HDD? If running from the Live CD, any downloaded application will be in the RAM only, and once the computer is shut down/restarted, it will not be there.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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