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

Thread: Unable to load from jnlp file

  1. #1
    Join Date
    Nov 2009
    Beans
    81

    Unable to load from jnlp file

    Good morning.

    Ubuntu 10.04, updated as of yesterday, latest FF as browser. Click link to any jnlp file, default response is open OpenJDK Java 6 Policy Tool.

    jnlp file downloads to desktop, but nothing more happens.

    I tried the suggestion in:

    http://ubuntuforums.org/showthread.php?t=1381721

    But when I enter "sudo update-alternatives --config java" in terminal I get:

    "There is only one alternative in link group java: /usr/lib/jvm/java-6-openjdk/jre/bin/java. Nothing to configure."

    Could someone suggest how I can get a jnlp file to load? The jnlp procedure to launch an app works on my WinXP machine, but not on my Ubuntu machine.

    Thanks.
    Tom

  2. #2
    Join Date
    Jun 2005
    Beans
    37

    Re: Unable to load from jnlp file

    I had the same problem. Running the following commands solved it:

    Code:
    sudo apt-get -q -y --force-yes remove sun-java*
    sudo apt-get -q -y --force-yes remove openjdk*
    sudo apt-get -q -y --force-yes autoremove
    sudo apt-get -q -y --force-yes install sun-java6-jre sun-java6-plugin sun-java6-jdk sun-java6-fonts
    sudo update-java-alternatives -s java-6-sun
    Of course, you may skip the sun-java6-jdk package.
    Last edited by cviorel; May 17th, 2010 at 02:46 PM. Reason: incomplete

  3. #3
    Join Date
    Nov 2009
    Beans
    81

    Re: Unable to load from jnlp file

    Thank you for your suggestions! Here's what happened when I ran those terminal commands:

    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes remove sun-java*
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Note, selecting sun-javadb-common for regex 'sun-java*'
    Note, selecting sun-java6-plugin for regex 'sun-java*'
    Note, selecting sun-java5-jre for regex 'sun-java*'
    Note, selecting sun-javadb-doc for regex 'sun-java*'
    Note, selecting sun-java6-fonts for regex 'sun-java*'
    Note, selecting sun-java6-bin for regex 'sun-java*'
    Note, selecting ia32-sun-java6-plugin for regex 'sun-java*'
    Note, selecting sun-java6-doc for regex 'sun-java*'
    Note, selecting ia32-sun-java6-bin for regex 'sun-java*'
    Note, selecting sun-java6-jdk for regex 'sun-java*'
    Note, selecting sun-javadb-demo for regex 'sun-java*'
    Note, selecting sun-java6-jre for regex 'sun-java*'
    Note, selecting sun-javadb-core for regex 'sun-java*'
    Note, selecting sun-javadb-javadoc for regex 'sun-java*'
    Note, selecting sun-javadb-client for regex 'sun-java*'
    E: Couldn't find package sun-java*
    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes remove openjdk*
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Note, selecting openjdk-6-demo for regex 'openjdk*'
    Note, selecting openjdk-6-dbg for regex 'openjdk*'
    Note, selecting openjdk-6-doc for regex 'openjdk*'
    Note, selecting openjdk-6-jre-headless for regex 'openjdk*'
    Note, selecting openjdk-6-jdk for regex 'openjdk*'
    Note, selecting openjdk-6-jre-shark for regex 'openjdk*'
    Note, selecting openjdk-6-jre-zero instead of openjdk-6-jre-shark
    Note, selecting openjdk-6-jre for regex 'openjdk*'
    Note, selecting openjdk-6-jre-lib for regex 'openjdk*'
    Note, selecting openjdk-6-jre-zero for regex 'openjdk*'
    Note, selecting openjdk-6-source for regex 'openjdk*'
    E: Couldn't find package openjdk*
    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes autoremove
    Reading package lists...
    Building dependency tree...
    Reading state information...
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes install sun-java6-jre sun-java6-plugin sun-java6-jdk sun-java6-fonts
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Package sun-java6-jre is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package sun-java6-jre has no installation candidate
    ethan@ethan-laptop:~$ sudo update-java-alternatives -s java-6-sun
    sudo: update-java-alternatives: command not found
    ethan@ethan-laptop:~$

    (Doesn't look very good!) (Problem with jnlp remains.)

    Thanks.
    Tom

  4. #4
    Join Date
    Jun 2005
    Beans
    37

    Re: Unable to load from jnlp file

    Have you enabled the Medibuntu repos?
    If not, run this command first:
    Code:
    sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update
    Then you can install sun-java.

    Quote Originally Posted by NutmegCT View Post
    Thank you for your suggestions! Here's what happened when I ran those terminal commands:

    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes remove sun-java*
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Note, selecting sun-javadb-common for regex 'sun-java*'
    Note, selecting sun-java6-plugin for regex 'sun-java*'
    Note, selecting sun-java5-jre for regex 'sun-java*'
    Note, selecting sun-javadb-doc for regex 'sun-java*'
    Note, selecting sun-java6-fonts for regex 'sun-java*'
    Note, selecting sun-java6-bin for regex 'sun-java*'
    Note, selecting ia32-sun-java6-plugin for regex 'sun-java*'
    Note, selecting sun-java6-doc for regex 'sun-java*'
    Note, selecting ia32-sun-java6-bin for regex 'sun-java*'
    Note, selecting sun-java6-jdk for regex 'sun-java*'
    Note, selecting sun-javadb-demo for regex 'sun-java*'
    Note, selecting sun-java6-jre for regex 'sun-java*'
    Note, selecting sun-javadb-core for regex 'sun-java*'
    Note, selecting sun-javadb-javadoc for regex 'sun-java*'
    Note, selecting sun-javadb-client for regex 'sun-java*'
    E: Couldn't find package sun-java*
    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes remove openjdk*
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Note, selecting openjdk-6-demo for regex 'openjdk*'
    Note, selecting openjdk-6-dbg for regex 'openjdk*'
    Note, selecting openjdk-6-doc for regex 'openjdk*'
    Note, selecting openjdk-6-jre-headless for regex 'openjdk*'
    Note, selecting openjdk-6-jdk for regex 'openjdk*'
    Note, selecting openjdk-6-jre-shark for regex 'openjdk*'
    Note, selecting openjdk-6-jre-zero instead of openjdk-6-jre-shark
    Note, selecting openjdk-6-jre for regex 'openjdk*'
    Note, selecting openjdk-6-jre-lib for regex 'openjdk*'
    Note, selecting openjdk-6-jre-zero for regex 'openjdk*'
    Note, selecting openjdk-6-source for regex 'openjdk*'
    E: Couldn't find package openjdk*
    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes autoremove
    Reading package lists...
    Building dependency tree...
    Reading state information...
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes install sun-java6-jre sun-java6-plugin sun-java6-jdk sun-java6-fonts
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Package sun-java6-jre is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package sun-java6-jre has no installation candidate
    ethan@ethan-laptop:~$ sudo update-java-alternatives -s java-6-sun
    sudo: update-java-alternatives: command not found
    ethan@ethan-laptop:~$

    (Doesn't look very good!) (Problem with jnlp remains.)

    Thanks.
    Tom

  5. #5
    Join Date
    Nov 2009
    Beans
    81

    Re: Unable to load from jnlp file

    Thank you again! I ran that long Medibuntu command, then the Install command. Here's the result:

    ethan@ethan-laptop:~$ sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update
    [sudo] password for ethan:
    --2010-05-18 07:45:23-- http://www.medibuntu.org/sources.list.d/lucid.list
    Resolving www.medibuntu.org... 87.98.242.110
    Connecting to www.medibuntu.org|87.98.242.110|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 268 [text/plain]
    Saving to: `/etc/apt/sources.list.d/medibuntu.list'

    100%[======================================>] 268 --.-K/s in 0s

    2010-05-18 07:45:24 (12.4 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' saved [268/268]

    Hit http://security.ubuntu.com lucid-security Release.gpg
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
    Hit http://us.archive.ubuntu.com lucid Release.gpg
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
    Hit http://security.ubuntu.com lucid-security Release
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
    Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
    Hit http://us.archive.ubuntu.com lucid Release
    Get:1 http://packages.medibuntu.org lucid Release.gpg [197B]
    Ign http://packages.medibuntu.org/ lucid/free Translation-en_US
    Hit http://us.archive.ubuntu.com lucid-updates Release
    Hit http://security.ubuntu.com lucid-security/main Packages
    Ign http://packages.medibuntu.org/ lucid/non-free Translation-en_US
    Get:2 http://packages.medibuntu.org lucid Release [6,854B]
    Hit http://us.archive.ubuntu.com lucid/main Packages
    Hit http://us.archive.ubuntu.com lucid/restricted Packages
    Hit http://us.archive.ubuntu.com lucid/main Sources
    Hit http://us.archive.ubuntu.com lucid/restricted Sources
    Hit http://us.archive.ubuntu.com lucid/universe Packages
    Hit http://security.ubuntu.com lucid-security/restricted Packages
    Hit http://security.ubuntu.com lucid-security/main Sources
    Hit http://security.ubuntu.com lucid-security/restricted Sources
    Hit http://security.ubuntu.com lucid-security/universe Packages
    Ign http://packages.medibuntu.org lucid Release
    Hit http://us.archive.ubuntu.com lucid/universe Sources
    Hit http://us.archive.ubuntu.com lucid/multiverse Packages
    Hit http://us.archive.ubuntu.com lucid/multiverse Sources
    Hit http://us.archive.ubuntu.com lucid-updates/main Packages
    Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
    Hit http://us.archive.ubuntu.com lucid-updates/main Sources
    Hit http://security.ubuntu.com lucid-security/universe Sources
    Hit http://security.ubuntu.com lucid-security/multiverse Packages
    Hit http://security.ubuntu.com lucid-security/multiverse Sources
    Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
    Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
    Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
    Get:3 http://packages.medibuntu.org lucid/free Packages [3,253B]
    Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
    Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
    Get:4 http://packages.medibuntu.org lucid/non-free Packages [8,873B]
    Fetched 19.2kB in 1s (10.7kB/s)
    Reading package lists...
    W: GPG error: http://packages.medibuntu.org lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
    medibuntu-keyring
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 3,448B of archives.
    After this operation, 49.2kB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
    medibuntu-keyring
    Authentication warning overridden.
    Get:1 http://packages.medibuntu.org/ lucid/free medibuntu-keyring 2008.04.20 [3,448B]
    Fetched 3,448B in 1s (3,090B/s)
    Selecting previously deselected package medibuntu-keyring.
    (Reading database ... 157991 files and directories currently installed.)
    Unpacking medibuntu-keyring (from .../medibuntu-keyring_2008.04.20_all.deb) ...
    Setting up medibuntu-keyring (2008.04.20) ...
    OK

    Hit http://security.ubuntu.com lucid-security Release.gpg
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
    Hit http://us.archive.ubuntu.com lucid Release.gpg
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
    Get:1 http://packages.medibuntu.org lucid Release.gpg [197B]
    Ign http://packages.medibuntu.org/ lucid/free Translation-en_US
    Ign http://packages.medibuntu.org/ lucid/non-free Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
    Hit http://security.ubuntu.com lucid-security Release
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
    Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
    Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
    Hit http://us.archive.ubuntu.com lucid Release
    Get:2 http://packages.medibuntu.org lucid Release [6,854B]
    Hit http://us.archive.ubuntu.com lucid-updates Release
    Hit http://security.ubuntu.com lucid-security/main Packages
    Hit http://packages.medibuntu.org lucid/free Packages
    Hit http://us.archive.ubuntu.com lucid/main Packages
    Hit http://us.archive.ubuntu.com lucid/restricted Packages
    Hit http://us.archive.ubuntu.com lucid/main Sources
    Hit http://us.archive.ubuntu.com lucid/restricted Sources
    Hit http://us.archive.ubuntu.com lucid/universe Packages
    Hit http://security.ubuntu.com lucid-security/restricted Packages
    Hit http://security.ubuntu.com lucid-security/main Sources
    Hit http://security.ubuntu.com lucid-security/restricted Sources
    Hit http://security.ubuntu.com lucid-security/universe Packages
    Hit http://packages.medibuntu.org lucid/non-free Packages
    Hit http://us.archive.ubuntu.com lucid/universe Sources
    Hit http://us.archive.ubuntu.com lucid/multiverse Packages
    Hit http://us.archive.ubuntu.com lucid/multiverse Sources
    Hit http://us.archive.ubuntu.com lucid-updates/main Packages
    Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
    Hit http://security.ubuntu.com lucid-security/universe Sources
    Hit http://security.ubuntu.com lucid-security/multiverse Packages
    Hit http://security.ubuntu.com lucid-security/multiverse Sources
    Hit http://us.archive.ubuntu.com lucid-updates/main Sources
    Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
    Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
    Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
    Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
    Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
    Fetched 198B in 1s (124B/s)
    Reading package lists...
    ethan@ethan-laptop:~$ sudo apt-get -q -y --force-yes install sun-java6-jre sun-java6-plugin sun-java6-jdk sun-java6-fonts
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Package sun-java6-jre is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package sun-java6-jre has no installation candidate
    ethan@ethan-laptop:~$

    Really sorry to trouble you with all this. When I saw "Medibuntu repos" I had no clue what that meant. Thought it was a new-age band!

    It seems the Medibuntu command(s) ran successfully, but the Install failed.

    Anyway, thanks again for helping. Any suggestions will be greatly appreciated.

    Tom

  6. #6
    Join Date
    Jun 2005
    Beans
    37

    Re: Unable to load from jnlp file

    Can you post the result of the following command:
    Code:
    sudo aptitude search sun-java

  7. #7
    Join Date
    Nov 2009
    Beans
    81

    Re: Unable to load from jnlp file

    Here you go:

    ethan@ethan-laptop:~$ sudo aptitude search sun-java
    [sudo] password for ethan:
    c sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (
    c sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (
    p sun-javadb-client - Java DB client
    p sun-javadb-common - Java DB common files
    p sun-javadb-core - Java DB core
    p sun-javadb-demo - Java DB demo
    p sun-javadb-doc - Java DB documentation
    p sun-javadb-javadoc - Java DB javadoc
    ethan@ethan-laptop:~$

  8. #8
    Join Date
    Jun 2005
    Beans
    37

    Re: Unable to load from jnlp file

    Ok. All you need is to install those packages:
    Code:
    sudo aptitude install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin

  9. #9
    Join Date
    Nov 2009
    Beans
    81

    Re: Unable to load from jnlp file

    Thanks again for your assistance. I just ran the code (see below). Does this mean it's all done? My untrained eye sees all those "no candidate version found", so I don't know if this was successful.

    Thanks.
    Tom

    * * * * *

    ethan@ethan-laptop:~$ sudo aptitude install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin
    [sudo] password for ethan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    No candidate version found for sun-java6-bin
    No candidate version found for sun-java6-fonts
    No candidate version found for sun-java6-jre
    No candidate version found for sun-java6-plugin
    No candidate version found for sun-java6-bin
    No candidate version found for sun-java6-fonts
    No candidate version found for sun-java6-jre
    No candidate version found for sun-java6-plugin
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Writing extended state information... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done

    ethan@ethan-laptop:~$

  10. #10
    Join Date
    Nov 2009
    Beans
    81

    Re: Unable to load from jnlp file

    I rebooted, then tried the jnlp link I'd been trying. Same result. I get the jnlp file with the Ubuntu Firefox message "open with: OpenJDK Java 6 Web Start (default)"

    I click OK, and hear some disk activity. But then nothing. Same as always.

    Should the jnlp file be opened with some other app?

    Here's the jnlp file if that's helpful in diagnosing/solving the problem:

    * * * * *

    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for EPC Application Prototype -->
    <jnlp spec="1.0+" codebase="http://epc-prod.startekinfo.com/EPC-net/servlets">
    <information>
    <title>EPC net</title>
    <vendor>Snap-on Business Solutions</vendor>
    <homepage href="http://java.sun.com/products/javawebstart/needdownload.html"/>
    <description>EPC net</description>
    <description kind="short">EPC net Application</description>
    <icon href="images/icon.gif"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="epc.jar" version="1.23.3.0"/>
    <extension name="EWA net Client Tools Package" href="http://epc-prod.startekinfo.com/EWA-net/jnlp/client_res/client_tools_1.11.174.68.jnlp"/>
    </resources>
    <application-desc main-class="com.proquest.epc.view.impl.MBEPCApplication ">
    <argument>http://epc-prod.startekinfo.com/EWA-net/ewa-net;jsessionid=0000PuhhbPIXnQd9nfBLb8TMxYd:144tanr c3?appid=150&userid=*****&sessionid=GKtTcRoCH1c7NN qa_-sRM3G&license=start</argument>
    <argument>userid=*****</argument>
    <argument>LookAndFeel=Automatic</argument>
    </application-desc>
    </jnlp>

    * * * * *

    Thanks.
    Tom

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
  •