Find the answer to your Linux question:
Results 1 to 6 of 6
Hi folks, Ubuntu 8.04 On visiting a website which required Java 1.1. Then I followed following URL to check; How to download and install prebuilt OpenJDK packages OpenJDK: Download and ...
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546

    Which java package I need

    Hi folks,


    Ubuntu 8.04


    On visiting a website which required Java 1.1.

    Then I followed following URL to check;
    How to download and install prebuilt OpenJDK packages
    OpenJDK: Download and install

    openjdk-6-jre:
    Code:
      Installed: (none)
      Candidate: 6b11-2ubuntu2.1
      Version table:
         6b11-2ubuntu2.1 0
            500 http://hk.archive.ubuntu.com hardy-updates/universe Packages
            500 http://security.ubuntu.com hardy-security/universe Packages
         6b09-0ubuntu2 0
            500 http://hk.archive.ubuntu.com hardy/universe Packages
    Please advise whether it is the right package I need.


    According to following links:-

    JavaInstallation
    https://help.ubuntu.com/community/JavaInstallation

    Java
    https://help.ubuntu.com/community/Java


    I made a further check;

    $ sudo update-java-alternatives -l
    Code:
    sudo: update-java-alternatives: command not found
    Please advise which package I need to install? TIA


    B.R.
    satimis

  2. #2
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    584
    Why don't you use apt-get or Synaptic to install it?

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I think he's asking what the package name is to install with apt/synaptic?

    For JRE
    openjdk-6-jre

    Or the proprietary java is
    sun-java6-jre

    Easy way is to do
    Code:
    sudo apt-get install ubuntu-restricted-extras
    and you'll get all the commonly added proprietary packages, including flash, java, and ms-fonts.

  4. #4
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by reed9 View Post
    I think he's asking what the package name is to install with apt/synaptic?
    Hi reed9,

    Yes, you're correct.

    For JRE
    openjdk-6-jre

    Or the proprietary java is
    sun-java6-jre
    Which of them will work better on Ubuntu 8.04? Thanks

    Easy way is to do
    Code:
    sudo apt-get install ubuntu-restricted-extras
    and you'll get all the commonly added proprietary packages, including flash, java, and ms-fonts.
    $ apt-cache policy ubuntu-restricted-extras
    Code:
    ubuntu-restricted-extras:
      Installed: (none)
      Candidate: 15.2
      Version table:
         15.2 0
            500 http://hk.archive.ubuntu.com hardy-updates/multiverse Packages
         15 0
            500 http://hk.archive.ubuntu.com hardy/multiverse Packages
    I'll install it. But I have Adobe flash add-on. Would there be any conflict? TIA


    B.R.
    satimis

  5. #5
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    If you installed flash via the ubuntu package, there shouldn't be any conflict. Ubuntu-Restricted-Extras is a metapackage that refers to all the various other packages.

    I don't think it will conflict otherwise, but you can always remove it first.

    I have no idea if there is a performance difference between the proprietary and open source java packages. I think there are some things that work better with the proprietary version. The Extras package installs the latter.

  6. #6
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by reed9 View Post
    If you installed flash via the ubuntu package, there shouldn't be any conflict. Ubuntu-Restricted-Extras is a metapackage that refers to all the various other packages.

    I don't think it will conflict otherwise, but you can always remove it first.

    I have no idea if there is a performance difference between the proprietary and open source java packages. I think there are some things that work better with the proprietary version. The Extras package installs the latter.
    Hi reed9,


    Thanks for your further advice.

    I solved my problem after installing;
    sun-java6-plugin


    Now I'm trying solving problem on "MS Java engine".

    A website needs browser with MS Java engine installed to visit, NOT Sun's Java engine. MS Java engine is MS proprietary software. Any suggestion? TIA


    B.R.
    satimis

Posting Permissions

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