Hot on the trail of JNLP failure

R

Roedy Green

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.
 
R

Roedy Green

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]
 
A

Andrew Thompson

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.
 
R

Roedy Green

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).
 
A

Andrew Thompson

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top