Results 1 to 5 of 5

Thread: Installing Sun Java in ubuntu

  1. #1
    Join Date
    Mar 2009
    Beans
    2

    Installing Sun Java in ubuntu

    Hi,

    I am new to ubuntu and linux.
    We have one web java signed applet on our server. Which is made in Windows OS. When I browse the page through other windows PC then the page loads fine - It asks me to accept/trust the certificate and once I accept/trust the certificate, the signed applet works fine.
    Now I am trying to run this remote signed applet in linux using firefox web browser but it does not display anything. It loads the html contents around the applet. By default the firefox using the GNU Classpath java but as our applet is made in Sun Java might be the problem.
    Then I tried to install the Sun Java in ubuntu and tried to set the plugin in the firefox but I didn't get any success.

    The steps to install Sun Java in unbuntu are here:
    http://java.com/en/download/help/5000010500.xml

    Please guide me, how can I remove the GNU Classpath plugin from firefox and successfully install the Sun Java Plugin.

    I have confirmed that: Java is Enabled in firefox. And there is no problem in running the normal applet.

    Thanks in advance.

  2. #2
    Join Date
    Mar 2009
    Beans
    2

    Re: Installing Sun Java in ubuntu

    Somebody, please reply...

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

    Re: Installing Sun Java in ubuntu

    First: if you used the RPM, that is not for a Debian based system; Ubuntu is based upon Debian. While one may use alien to convert a RPM to a .deb package, that's usually one of the last things to try.

    Which release of Ubuntu are you using (7.10, 8.04, 8.10)? Have you gone to Synaptic Package Manager and installed the Sun Java release located there?

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    2,185
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing Sun Java in ubuntu

    Install the package sun-java6-plugin using Synaptic package manager, or with the following command from a terminal window:
    Code:
    sudo apt-get install sun-java6-plugin
    Note: The preferred way to install software on Ubuntu is via the package management system (Synaptic, Add / Remove Programs, or apt-get). Using the package management system is easy and it also automatically checks for security updates of the software that you install.

    Only install software manually if it isn't available in the Ubuntu software repository, or if you have another special reason to do so.
    Ubuntu 12.04

  5. #5
    Join Date
    Feb 2007
    Location
    St. Louis, MO
    Beans
    4,917
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing Sun Java in ubuntu

    This will give you the entire Java from the repositories.

    Code:
    sudo apt-get -y install sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin
    This is of course for 32 bit as the plugin is there.

    If you are running 64 bit you can install everything but the plugin. There is a 64 bit SUN Java plugin that is discussed here on the forum.
    Windows XP - Excellent computer virus detector.
    Windows Vista - Most bloat for the money.

    Visit my Ubuntu Resource Website http://www.stchman.com

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
  •