Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

Hot on the trail of JNLP failure

Thread view: 
Roedy Green - 25 Mar 2008 19:10 GMT
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.

Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Roedy Green - 25 Mar 2008 20:04 GMT
On Tue, 25 Mar 2008 18:10:36 GMT, Roedy Green
<see_website@mindprod.com.invalid> 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.
[quoted text clipped - 8 lines]
>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]

Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Andrew Thompson - 25 Mar 2008 23:48 GMT
On Mar 26, 4:10 am, Roedy Green <see_webs...@mindprod.com.invalid>
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
Roedy Green - 26 Mar 2008 21:00 GMT
On Tue, 25 Mar 2008 15:48:28 -0700 (PDT), Andrew Thompson
<andrewthommo@gmail.com> 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).

Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Andrew Thompson - 26 Mar 2008 23:02 GMT
On Mar 27, 7:00 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> On Tue, 25 Mar 2008 15:48:28 -0700 (PDT), Andrew Thompson
> <andrewtho...@gmail.com> wrote, quoted or indirectly quoted someone
[quoted text clipped - 6 lines]
>
> 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
Roedy Green - 27 Mar 2008 01:34 GMT
On Wed, 26 Mar 2008 15:02:54 -0700 (PDT), Andrew Thompson
<andrewthommo@gmail.com> wrote, quoted or indirectly quoted someone
who said :

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

works fine for me.
Signature


Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Roedy Green - 27 Mar 2008 01:35 GMT
On Wed, 26 Mar 2008 15:02:54 -0700 (PDT), Andrew Thompson
<andrewthommo@gmail.com> 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.
Signature


Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.