Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Hot on the trail of JNLP failure

Reply
Thread Tools

Hot on the trail of JNLP failure

 
 
Roedy Green
Guest
Posts: n/a
 
      03-25-2008
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
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      03-25-2008
On Tue, 25 Mar 2008 18:10:36 GMT, Roedy Green
<(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      03-25-2008
On Mar 26, 4:10*am, Roedy Green <(E-Mail Removed)>
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
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      03-26-2008
On Tue, 25 Mar 2008 15:48:28 -0700 (PDT), Andrew Thompson
<(E-Mail Removed)> 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
 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      03-26-2008
On Mar 27, 7:00*am, Roedy Green <(E-Mail Removed)>
wrote:
> On Tue, 25 Mar 2008 15:48:28 -0700 (PDT), Andrew Thompson
> <(E-Mail Removed)> 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
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      03-27-2008
On Wed, 26 Mar 2008 15:02:54 -0700 (PDT), Andrew Thompson
<(E-Mail Removed)> wrote, quoted or indirectly quoted someone
who said :

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

>
>404 but..


works fine for me.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      03-27-2008
On Wed, 26 Mar 2008 15:02:54 -0700 (PDT), Andrew Thompson
<(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOT HOT MULTIPLE OPENINGS-JAVA DEVELOPERS Sandy Miller Java 0 02-01-2008 05:25 AM
Java Developer - Oracle, UML, Spring, Hibernate -HOT HOT OPENINGS Sandy Miller Java 0 01-28-2008 06:02 AM
Web Developer - PHP, ASP, SQL-HOT HOT OPENINGS Sandy Miller Java 0 01-17-2008 04:21 AM
Java EE Developer-HOT HOT OPENINGS Sandy Miller Java 0 01-08-2008 05:06 AM
one hot< two hot in FSM encoding mobi999 VHDL 0 06-09-2007 12:59 AM



Advertisments