Hot on the trail of JNLP failure

Discussion in 'Java' started by Roedy Green, Mar 25, 2008.

  1. Roedy Green

    Roedy Green Guest

    On my machine, any desktop icon to launch Java Webs Start app fails
    with a message about Java not being installed.

    I discovered manually created shortcuts to the JNLP file would work.

    I discovered today that modifying the shortcut to use C:\Program
    Files\Java\jre1.6.0_05\bin\javaws.exe instead of
    C:\windows\system32\javaws.exe also works.

    Oddly, the javaws.exe in both directories is identical. I take this
    to mean there is something that is screwing up the way javaws.exe
    finds the currently installed JRE.

    --

    Roedy Green Canadian Mind Products
    The Java Glossary
    http://mindprod.com
     
    Roedy Green, Mar 25, 2008
    #1
    1. Advertising

  2. Roedy Green

    Roedy Green Guest

    On Tue, 25 Mar 2008 18:10:36 GMT, Roedy Green
    <> wrote, quoted or indirectly quoted
    someone who said :

    >On my machine, any desktop icon to launch Java Webs Start app fails
    >with a message about Java not being installed.
    >
    >I discovered manually created shortcuts to the JNLP file would work.
    >
    >I discovered today that modifying the shortcut to use C:\Program
    >Files\Java\jre1.6.0_05\bin\javaws.exe instead of
    >C:\windows\system32\javaws.exe also works.
    >
    >Oddly, the javaws.exe in both directories is identical. I take this
    >to mean there is something that is screwing up the way javaws.exe
    >finds the currently installed JRE.


    I have reinstalled Java, no joy.

    Here is what my registry entries look like. Do you see any damage?

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit]
    "CurrentVersion"="1.6"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.6]
    "JavaHome"="F:\\Program Files\\Java\\jdk1.6.0_05"
    "MicroVersion"="0"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.6.0_05]
    "JavaHome"="F:\\Program Files\\Java\\jdk1.6.0_05"
    "MicroVersion"="0"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in]

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.6.0_05]
    "JavaHome"="C:\\Program Files\\Java\\jre1.6.0_05"
    "UseJava2IExplorer"=dword:00000001
    "HideSystemTrayIcon"=dword:00000000

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
    "CurrentVersion"="1.6"
    "BrowserJavaVersion"="1.6.0_05"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6]
    "JavaHome"="C:\\Program Files\\Java\\jre1.6.0_05"
    "RuntimeLib"="C:\\Program
    Files\\Java\\jre1.6.0_05\\bin\\client\\jvm.dll"
    "MicroVersion"="0"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime
    Environment\1.6.0_05]
    "JavaHome"="C:\\Program Files\\Java\\jre1.6.0_05"
    "MicroVersion"="0"
    "RuntimeLib"="C:\\Program
    Files\\Java\\jre1.6.0_05\\bin\\client\\jvm.dll"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime
    Environment\1.6.0_05\MSI]
    "INSTALLDIR"="C:\\Program Files\\Java\\jre1.6.0_05\\"
    "SYSTRAY"="1"
    "EULA"="0"
    "IEXPLORER"="1"
    "MOZILLA"="1"
    "JAVAUPDATE"="1"
    "AUTOUPDATECHECK"="1"
    "JU"="1"
    "OEMUPDATE"=""

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update]

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
    "EnableJavaUpdate"=dword:00000001
    "NotifyDownload"=dword:00000001
    "NotifyInstall"=dword:00000000
    "VisitorId"="2f5c4347-e949c1a10"
    "UpdateSchedule"=dword:00000000
    "Frequency"=dword:00000001
    "LastUpdateBeginTime"="Tue, 25 Mar 2008 18:52:30 GMT"
    "LastUpdateFinishTime"="Tue, 25 Mar 2008 18:52:32 GMT"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start]
    "CurrentVersion"="1.6.0_05"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1]
    "Home"="C:\\Program Files\\Java\\jre1.6.0_05\\bin"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_02]
    "Home"="C:\\Program Files\\Java\\jre1.6.0_05\\bin"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_03]
    "Home"="C:\\Program Files\\Java\\jre1.6.0_05\\bin"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_04]
    "Home"="C:\\Program Files\\Java\\jre1.6.0_05\\bin"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2]
    "Home"="C:\\Program Files\\Java\\jre1.6.0_05\\bin"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2.0_01]
    "Home"="C:\\Program Files\\Java\\jre1.6.0_05\\bin"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.6.0_05]
    "Home"="C:\\Program Files\\Java\\jre1.6.0_05\\bin"

    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Prefs]

    --

    Roedy Green Canadian Mind Products
    The Java Glossary
    http://mindprod.com
     
    Roedy Green, Mar 25, 2008
    #2
    1. Advertising

  3. On Mar 26, 4:10 am, Roedy Green <>
    wrote:
    > On my machine, any desktop icon to launch Java Webs Start app fails
    > with a message about Java not being installed.


    Can you give us the URL to any one JNLP
    that has been
    a) validated &
    b) seen to fail since last validation.

    --
    Andrew T.
    PhySci.org
     
    Andrew Thompson, Mar 25, 2008
    #3
  4. Roedy Green

    Roedy Green Guest

    On Tue, 25 Mar 2008 15:48:28 -0700 (PDT), Andrew Thompson
    <> wrote, quoted or indirectly quoted someone
    who said :

    >Can you give us the URL to any one JNLP
    >that has been
    >a) validated &
    >b) seen to fail since last validation.


    If you go to http://mindprod.com/webstart/setclock.html

    You can run the app fine in the browser. Yet I can't use the shortcut
    created. The JNLP file is the same in both cases.

    I can also run the app by creating an app that points directly to the
    JNLP file (not using javaws to create the shortcut).

    --

    Roedy Green Canadian Mind Products
    The Java Glossary
    http://mindprod.com
     
    Roedy Green, Mar 26, 2008
    #4
  5. On Mar 27, 7:00 am, Roedy Green <>
    wrote:
    > On Tue, 25 Mar 2008 15:48:28 -0700 (PDT), Andrew Thompson
    > <> wrote, quoted or indirectly quoted someone
    > who said :
    >
    > >Can you give us the URL to any one JNLP
    > >that has been
    > >a) validated &
    > >b) seen to fail since last validation.

    >
    > If you go tohttp://mindprod.com/webstart/setclock.html


    404 but..

    > You can run the app fine in the browser.  


    ..note that I did not ask for the applet URL,
    but the URL of the JNLP.

    Further, using this Dell Latitude 300MHz
    computer on a connection that screams
    along at around 2-3KPS, I am not in a
    position to go hunting through a bunch of
    applet based pages, looking for a link to
    a JNLP.

    Provide a link (direct) to the JNLP and
    I can investigate further.

    One thing I can ask 'off the top of my head'
    is .. Does the launch file specify an HREF
    attribute in the JNLP element?

    --
    Andrew T.
    PhySci.org
     
    Andrew Thompson, Mar 26, 2008
    #5
  6. Roedy Green

    Roedy Green Guest

    Roedy Green, Mar 27, 2008
    #6
  7. Roedy Green

    Roedy Green Guest

    On Wed, 26 Mar 2008 15:02:54 -0700 (PDT), Andrew Thompson
    <> wrote, quoted or indirectly quoted someone
    who said :

    >..note that I did not ask for the applet URL,
    >but the URL of the JNLP.


    Please don't jerk me around. You know perfectly well how to get the
    JNLP file.
    --

    Roedy Green Canadian Mind Products
    The Java Glossary
    http://mindprod.com
     
    Roedy Green, Mar 27, 2008
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mobi999
    Replies:
    0
    Views:
    767
    mobi999
    Jun 9, 2007
  2. Sandy Miller

    Java EE Developer-HOT HOT OPENINGS

    Sandy Miller, Jan 8, 2008, in forum: Java
    Replies:
    0
    Views:
    379
    Sandy Miller
    Jan 8, 2008
  3. Sandy Miller
    Replies:
    0
    Views:
    351
    Sandy Miller
    Jan 17, 2008
  4. Sandy Miller
    Replies:
    0
    Views:
    545
    Sandy Miller
    Jan 28, 2008
  5. Sandy Miller
    Replies:
    0
    Views:
    400
    Sandy Miller
    Feb 1, 2008
Loading...

Share This Page