Announcement

Collapse
No announcement yet.

[SOLVED] Java is missing

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Java is missing

    Hi all!

    After a fast, smooth and elegant installation of Kubuntu 10.10 on a new Dell Inspirion ZINO, turning this computer into a very elegant machine, I have only some minor problems.

    One problem: I have no Java in my Firefox, and I can't find it in the repositories. I did this:

    > java -version

    Got this:

    gcj-4.4-jre-headless
    gcj-4.5-jre-headless
    openjdk-6-jre-headless


    made sure that these repositories was commented in:

    deb http://extras.ubuntu.com/ubuntu maverick main
    deb-src http://extras.ubuntu.com/ubuntu maverick main

    did this:

    > sudo apt-get install sun-java6-jdk

    Got the message that the package did not exist. Found no "sun-java" in any repository.


    I wonder if some political issues with Oracle has made it unavailable? But I'm puzzled, because I search the forum here, and I find no one else who have this problem.

    Any ideas on what to do?

    thanks! (next problem in another topic)

    #2
    Re: Java is missing

    I found this:

    http://www.adamsofineti.com/2010/12/...kubuntu-10-10/

    Looks like you're missing one step

    Code:
    sudo apt-get update
    Registered Linux user #346571

    Comment


      #3
      Re: Java is missing

      Thanks for your reply. Did not have to do "update", because my extra-repositories were commented in (as I asked them to be during the installation-process).

      -lars

      Comment


        #4
        Re: Java is missing

        If you search for java in kpackageit, does it come up? Perhaps it's not called sun-java6-jdk anymore, kpackageit should find it with just 'java' or probably even 'jdk' as a search.
        Registered Linux user #346571

        Comment


          #5
          Re: Java is missing

          I tried to search kpackageit and it was not there.

          But then, FABULOUSLY, I searched the web a bit more and found this web page [1], that tells me that Java has been out of Ubuntu, but is now back in, but in the PARTNER-repository, not in the EXTRAS-repository.


          So, all [2] should rewrite his otherwise nice page: Add (or uncomment) this line:

          Code:
          deb [url]http://archive.canonical.com/ubuntu/[/url] maverick partner
          ... not extras, as written in [2].

          Thanks all, case solved.

          [1] http://www.omgubuntu.co.uk/2010/10/j...-ubuntu-10-10/
          [2] http://www.adamsofineti.com/2010/12/...kubuntu-10-10/

          Comment

          Working...
          X