1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Accessing Proxmox GUI on FireFox in Ubuntu Client - Java Fixes

Discussion in 'Proxmox VE 1.x: Installation and configuration' started by apmuthu, Dec 5, 2010.

  1. apmuthu

    apmuthu Member

    Joined:
    Feb 26, 2009
    Messages:
    726
    Likes Received:
    2
    Installed FireFox v3.6.13 on a PC running a fresh Ubuntu 10.10 desktop.
    Tried top access the ProxMox 1.7 GUI - basic HTML pages were okay. Tried to use the Console view for a Virtual machine on it. A popup was successful but blank. It appeared that Java was not installed and the new Java plugin is named IcedTea!

    Steps to correct the situation if FireFox was installed thru the Ubuntu Software Center:
    Close all firefox
    FireFox v3.6.13 is installed in /usr/lib/firefox-3.6.13

    Java Download Page:
    http://www.java.com/en/download/linux_manual.jsp

    Linux (self-extracting file) filesize: 20.2 MB
    http://javadl.sun.com/webapps/download/AutoDL?BundleId=42723

    Instructions
    http://www.java.com/en/download/help/linux_install.xml

    Code:
    sudo mkdir /usr/lib/java
    cd /usr/lib/java
    sudo wget -O jre-6u22-linux-i586.bin http://javadl.sun.com/webapps/download/AutoDL?BundleId=42723
    sudo chmod a+x jre-6u22-linux-i586.bin
    sudo ./jre-6u22-linux-i586.bin
    
    cd /usr/lib/firefox-3.6.13/plugins
    sudo ln -s /usr/lib/java/jre1.6.0_22/plugin/i386/ns7/libjavaplugin_oji.so
    
    cd /usr/lib/firefox-3.6.13/extensions
    sudo unzip /usr/lib/java/jre1.6.0_22/lib/deploy/ffjcext.zip
    Start the Firefox browser
    Get the following Add-on:
    IcedTea NPR Web Browser Plugin (using IcedTea6 1.9.2 (6b20-1.9.2-0Ubuntu1))

    In Firefox, type about:plugins in the Location bar to confirm that the Java Plugin is loaded.
    (Tools -> Add-ons -> plugins)
     
    #1 apmuthu, Dec 5, 2010
    Last edited: Dec 10, 2010
  2. udo

    udo Well-Known Member
    Proxmox VE Subscriber

    Joined:
    Apr 22, 2009
    Messages:
    4,561
    Likes Received:
    27
    Hi,
    you have downloaded the Sun (oracle) java but your browser use icedtea... at my firefox the plugin named Java (tm) Plug-in 1.6.0_20 - in your version there should something with 1.6.x_22
    you must install the sun-plugin.

    Have you tried "apt-get install sun-java6-plugin"??

    Udo
     
  3. apmuthu

    apmuthu Member

    Joined:
    Feb 26, 2009
    Messages:
    726
    Likes Received:
    2
    Code:
    apt-get install sun-java6-plugin
    does not work on Ubuntu 10.10 with OpenJDK installed.
     
  4. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    11,108
    Likes Received:
    55
    uninstall openjdk plugin - better?
     
  5. apmuthu

    apmuthu Member

    Joined:
    Feb 26, 2009
    Messages:
    726
    Likes Received:
    2
    It does not install even without OpenJDK.

    Error:
    sun-java6-plugin is referred to by another package (?) and is not an installation candidate!
     
  6. snowman66

    snowman66 Member
    Proxmox VE Subscriber

    Joined:
    Dec 1, 2010
    Messages:
    247
    Likes Received:
    1
    1. Open Synaptic. Go to Settings under Other software Tab select Partner repo. Click OK and then refresh button (or type sudo apt-get update).

    2. Open Terminal and type: sudo apt-get install sun-java6-jre sun-java6-plugin

    Hope this help.
     

Share This Page