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

Thread: installing java

  1. #1
    Join Date
    Feb 2008
    Location
    Miami, FL
    Beans
    95
    Distro
    Ubuntu 8.10 Intrepid Ibex

    installing java

    I didn't have a problem with this in gutsy, I just installed the ubuntu restricted extras and accepted the license, but with hardy I'm having some difficulties.
    I went into the package manager and installed sun-java6-bin and the jre and plugin and it is still not working. I also installed the restricted extras and it's not working. Any suggestions?
    PC: Shuttle XPC SN68SG2, AMD Athlon 64 X2 5200, NVIDIA GeForce 7025/nForce 630a chipset, 1 GB ram, 160 GB Serial ATA hard drive, Ubuntu 8.10 32 bit

  2. #2
    Join Date
    Oct 2007
    Location
    New Castle, PA
    Beans
    1,251
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: installing java

    Quote Originally Posted by fetisha View Post
    I didn't have a problem with this in gutsy, I just installed the ubuntu restricted extras and accepted the license, but with hardy I'm having some difficulties.
    I went into the package manager and installed sun-java6-bin and the jre and plugin and it is still not working. I also installed the restricted extras and it's not working. Any suggestions?
    sudo update-alternatives --config java and select SUN Jre

  3. #3
    Join Date
    Nov 2007
    Beans
    706
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: installing java

    Code:
    sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin
    That should do it.
    Programming is an art. Learn it. Live it. Love it.

  4. #4
    Join Date
    Feb 2008
    Location
    Miami, FL
    Beans
    95
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: installing java

    Quote Originally Posted by Sinkingships7 View Post
    Code:
    sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin
    That should do it.
    Did that. Still not working.
    It gave me this, don't know if it will help:

    justin@comp:~$ sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin
    [sudo] password for justin:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    sun-java6-bin is already the newest version.
    sun-java6-jre is already the newest version.
    sun-java6-jre set to manually installed.
    sun-java6-plugin is already the newest version.
    The following NEW packages will be installed:
    sun-java6-fonts
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/1816B of archives.
    After this operation, 115kB of additional disk space will be used.
    Selecting previously deselected package sun-java6-fonts.
    (Reading database ... 118533 files and directories currently installed.)
    Unpacking sun-java6-fonts (from .../sun-java6-fonts_6-06-0ubuntu1_all.deb) ...
    Setting up sun-java6-fonts (6-06-0ubuntu1) ...
    Updating fontconfig cache for /usr/share/fonts/truetype/ttf-lucida
    No CIDSupplement specified for Batang-Regular, defaulting to 0.
    No CIDSupplement specified for UMingCN, defaulting to 0.
    No CIDSupplement specified for KochiGothic-Regular-JaH, defaulting to 0.
    No CIDSupplement specified for Dotum-Bold, defaulting to 0.
    No CIDSupplement specified for KochiGothic-Regular, defaulting to 0.
    No CIDSupplement specified for KochiMincho-Regular-JaH, defaulting to 0.
    No CIDSupplement specified for Batang-Bold, defaulting to 0.
    No CIDSupplement specified for KochiMincho-Regular, defaulting to 0.
    No CIDSupplement specified for Dotum-Regular, defaulting to 0.
    PC: Shuttle XPC SN68SG2, AMD Athlon 64 X2 5200, NVIDIA GeForce 7025/nForce 630a chipset, 1 GB ram, 160 GB Serial ATA hard drive, Ubuntu 8.10 32 bit

  5. #5
    Join Date
    Feb 2008
    Location
    Miami, FL
    Beans
    95
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: installing java

    Quote Originally Posted by perlluver View Post
    sudo update-alternatives --config java and select SUN Jre
    Did that. Still no luck.
    it gave me this:

    justin@comp:~$ sudo update-alternatives --config java

    There are 2 alternatives which provide `java'.

    Selection Alternative
    -----------------------------------------------
    + 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java
    * 2 /usr/lib/jvm/java-6-sun/jre/bin/java

    Press enter to keep the default[*], or type selection number: 2
    Using '/usr/lib/jvm/java-6-sun/jre/bin/java' to provide 'java'.
    PC: Shuttle XPC SN68SG2, AMD Athlon 64 X2 5200, NVIDIA GeForce 7025/nForce 630a chipset, 1 GB ram, 160 GB Serial ATA hard drive, Ubuntu 8.10 32 bit

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

    Re: installing java

    Quote Originally Posted by fetisha View Post
    I didn't have a problem with this in gutsy, I just installed the ubuntu restricted extras and accepted the license, but with hardy I'm having some difficulties.
    I went into the package manager and installed sun-java6-bin and the jre and plugin and it is still not working. I also installed the restricted extras and it's not working. Any suggestions?
    Are you using the 64 bit version of Ubuntu? If yes then the plugin will not function. Here is how to install Java in Ubuntu.

    32 bit
    Code:
    sudo apt-get -y install sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin
    64 bit (Install Icedtea)
    Code:
    sudo apt-get -y install icedtea-java7-jre icedtea-java7-jdk icedtea-java7-plugin
    This works for me on 32bit and 64 bit. If you want the Lucida fonts I have them on my site in tool section. The 64 bit version does not have the Lucida fonts.

    http://www.stchman.com/tools_page.html
    Last edited by stchman; June 13th, 2008 at 10:04 PM.
    Windows XP - Excellent computer virus detector.
    Windows Vista - Most bloat for the money.

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

  7. #7
    Join Date
    Oct 2007
    Location
    Europe
    Beans
    3,564
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: installing java

    installing the ubuntu-restricted-extras is a bad option for hardy 8.04 as it will install open java.
    go to synaptic and remove completely the open java, just leave the sun-java6-jre, sun-java6-bin and sun-java6-plugin installed.

    one question, you running firefox 3 or firefox 2?
    Last edited by gandaran; June 13th, 2008 at 10:12 PM.

  8. #8
    Join Date
    Feb 2008
    Location
    Miami, FL
    Beans
    95
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: installing java

    Quote Originally Posted by stchman View Post
    Are you using the 64 bit version of Ubuntu? If yes then the plugin will not function. Here is how to install Java in Ubuntu.

    32 bit
    Code:
    sudo apt-get -y install sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin
    64 bit (Install Icedtea)
    Code:
    sudo apt-get -y install icedtea-java7-jre icedtea-java7-jdk icedtea-java7-plugin
    This works for me on 32bit and 64 bit. If you want the Lucida fonts I have them on my site in tool section. The 64 bit version does not have the Lucida fonts.

    http://www.stchman.com/tools_page.html
    Honestly... I don't remember whether it was 32 or 64 bit that I installed, but I'm 75% positive that it was the 32 bit.
    I tried both and it still doesn't work.

    Code:
    justin@comp:~$ sudo apt-get -y install sun-java6-bin sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin
    [sudo] password for justin: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    sun-java6-bin is already the newest version.
    sun-java6-fonts is already the newest version.
    sun-java6-jre is already the newest version.
    sun-java6-plugin is already the newest version.
    Suggested packages:
      sun-java6-demo sun-java6-doc sun-java6-source
    The following NEW packages will be installed:
      sun-java6-jdk
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/9625kB of archives.
    After this operation, 32.4MB of additional disk space will be used.
    Preconfiguring packages ...
    Selecting previously deselected package sun-java6-jdk.
    (Reading database ... 118548 files and directories currently installed.)
    Unpacking sun-java6-jdk (from .../sun-java6-jdk_6-06-0ubuntu1_i386.deb) ...
    sun-dlj-v1-1 license has already been accepted
    Setting up sun-java6-jdk (6-06-0ubuntu1) ...
    
    justin@comp:~$ sudo apt-get -y install icedtea-java7-jre icedtea-java7-jdk icedtea-java7-plugin
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      openjdk-6-jdk
    Suggested packages:
      openjdk-6-demo openjdk-6-source
    The following NEW packages will be installed:
      icedtea-java7-jdk icedtea-java7-jre icedtea-java7-plugin openjdk-6-jdk
    0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
    Need to get 9384kB of archives.
    After this operation, 31.9MB of additional disk space will be used.
    Get:1 http://us.archive.ubuntu.com hardy/universe openjdk-6-jdk 6b09-0ubuntu2 [9376kB]
    Get:2 http://us.archive.ubuntu.com hardy/universe icedtea-java7-jdk 7~b24-1.6-0ubuntu5 [2762B]
    Get:3 http://us.archive.ubuntu.com hardy/universe icedtea-java7-jre 7~b24-1.6-0ubuntu5 [2758B]
    Get:4 http://us.archive.ubuntu.com hardy/universe icedtea-java7-plugin 7~b24-1.6-0ubuntu5 [2750B]
    Fetched 9384kB in 14s (644kB/s)                                                
    Selecting previously deselected package openjdk-6-jdk.
    (Reading database ... 118666 files and directories currently installed.)
    Unpacking openjdk-6-jdk (from .../openjdk-6-jdk_6b09-0ubuntu2_i386.deb) ...
    Selecting previously deselected package icedtea-java7-jdk.
    Unpacking icedtea-java7-jdk (from .../icedtea-java7-jdk_7~b24-1.6-0ubuntu5_all.deb) ...
    Selecting previously deselected package icedtea-java7-jre.
    Unpacking icedtea-java7-jre (from .../icedtea-java7-jre_7~b24-1.6-0ubuntu5_all.deb) ...
    Selecting previously deselected package icedtea-java7-plugin.
    Unpacking icedtea-java7-plugin (from .../icedtea-java7-plugin_7~b24-1.6-0ubuntu5_all.deb) ...
    Setting up openjdk-6-jdk (6b09-0ubuntu2) ...
    
    Setting up icedtea-java7-jdk (7~b24-1.6-0ubuntu5) ...
    Setting up icedtea-java7-jre (7~b24-1.6-0ubuntu5) ...
    Setting up icedtea-java7-plugin (7~b24-1.6-0ubuntu5) ...
    PC: Shuttle XPC SN68SG2, AMD Athlon 64 X2 5200, NVIDIA GeForce 7025/nForce 630a chipset, 1 GB ram, 160 GB Serial ATA hard drive, Ubuntu 8.10 32 bit

  9. #9
    Join Date
    Mar 2006
    Location
    Hershey, PA
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: installing java

    If you are using firefox 3 or 2 did you sym-link the libjavaplugin_oji.so file to your appropriate plugins folder in the firefox you are using?
    CyberPower Gamer Ultra 7209 | AMD Athlon II X2 240 | 6 GB RAM | 1000GB & 500GB SATA-II HD
    ATI Radeon HD4550 | HP 2430 Printer | Ubuntu 11.04 | Windows 7 | ViewSonic VA703b Monitor

  10. #10
    Join Date
    Feb 2008
    Location
    Miami, FL
    Beans
    95
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: installing java

    Quote Originally Posted by alienexplorers View Post
    If you are using firefox 3 or 2 did you sym-link the libjavaplugin_oji.so file to your appropriate plugins folder in the firefox you are using?
    No, how would I go about doing that?
    PC: Shuttle XPC SN68SG2, AMD Athlon 64 X2 5200, NVIDIA GeForce 7025/nForce 630a chipset, 1 GB ram, 160 GB Serial ATA hard drive, Ubuntu 8.10 32 bit

Page 1 of 2 12 LastLast

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
  •