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 / October 2007

Tip: Looking for answers? Try searching our database.

"No JRE version found in launch file for this system" and other assorted Java 6 crashes

Thread view: 
Ramon F Herrera - 03 Oct 2007 06:46 GMT
Summary:

Is Java 6 ready for prime time?

Is it just my computer?

How come Borland/CodeGear is shipping Eclipse with a 1.5 JRE today?

There is no more enthusiastic Java supporter than me, but frankly,
Java 6 is taxing my patience: it just crashes and crashes. Nothing
seems to work under it. I must have reinstalled dozens of times.

I suspect that if I can solve just one problem, the rest will
(hopefully) go away.

Questions:

Can anyone of you folks out there run one of the most popular Java
applications, jDiskReport under Java 6 and JaWS?

    http://www.jgoodies.com

Is there any change in JWS lately? There used to be a small
application with a set of programs and their status. The computer
would connect to the home of the JNLP program and get the latest
version. Now all I get when I double click on javaws.exe is a dialog
message.

For months, I have been patiently waiting for the next release of Java
6, but every single one shows the same symptom when I try to run
something: it gives me an error dialog that says:

More Information - Error: No JRE version found in launch file for this
system
Then, there are 3 tabs: "Launch File", "Main Launch File" and
"Exception"

This error message stays on the screen for about 3 seconds and then
disappears. The same vanishing behavior occurs if I try to use the
Java Control Panel to add a new JRE, or investigate which JRE is
actually being used.

Today, there was a miracle: the error message actually stayed on the
screen so I can transcribe the information contained in this post.

Oh yes: what's the deal with some version 6 cache which is flushed(?)
or updated(?) again, and again, and again...

I apologize for being vague, but I really would have to acquire a slow-
motion camera to get the disappearing messages.

I *really* would like to remove all instances of version 1.5 and byte
the Java 6 bullet (even modify my apps to make them v6 compliant) but
I am afraid nothing will work in my computer.

Any help is most welcome and appreciated.

-RFH

-------------------------
Launch File
-------------------------
<?xml version="1.0" encoding="utf-8"?><jnlp codebase="http://
javadl.sun.com/webapps/jawsautodl/AutoDL/j2se">  <information>
<title>J2RE 1.6.0 Installer</title>    <vendor>Sun Microsystems, Inc.</
vendor>  </information>  <security>      <all-permissions/>  </
security>  <resources>    <j2se version="1.3+" href="http://
java.sun.com/products/autodl/j2se"/>    <jar href="javaws-1_0_1-
j2re-1_6_0-inst-windows-i586.jar" download="lazy" size="40719"/>
<jar href="javaws-1_0_1-j2re-1_6_0-data-windows-i586.jar"
download="lazy" size="12263551"/>    <property
name="javaVersion"       value="1.6.0"/>    <property
name="platformVersion"       value="1.6"/>    <property
name="installerLocation" value="javaws-1_0_1-j2re-1_6_0-data-windows-
i586.jar"/>    <property name="installerEntry"    value="jre.dat"/>
<property name="licenseEntry"    value="LICENSE"/>    <property
name="lib"               value="j2re-installer"/>    <property
name="msvcrt.versionMS"  value="60000"/>    <property
name="msvcrt.versionLS"  value="20910000"/>    <property
name="execString"        value="{0} {1}"/>    <property
name="javaPath"          value="bin\javaw.exe"/>    <property
name="verbose"           value="true"/>    <property
name="hopper"            value="true"/>    <property
name="isWindowsInstall"  value="true"/>    <nativelib
href="javaws-1_0_1-j2re-1_6_0-native-windows-i586.jar" size="13932"/>
</resources>  <installer-desc main-
class="com.sun.webstart.installers.Main"/></jnlp>

-------------------------
Main Launch File
-------------------------
<?xml version="1.0" encoding="utf-8"?>

<jnlp
    spec="1.0+"
    codebase="http://www.jgoodies.com/download/jdiskreport/"
    href="jdiskreport.jnlp">
 <information>
   <title>JDiskReport</title>
   <vendor>JGoodies</vendor>
   <homepage href="http://www.jgoodies.com/" />

   <description>JDiskReport - A Graphical Disk Report Utility</
description>
   <description kind="short">JDiskReport enables you to understand
how much space the directories and files consume on your hard disks.</
description>
   <description kind="tooltip">JDiskReport</description>

   <icon href="jdiskreport32x32.gif"        width="32" height="32" />
   <icon href="jdiskreport64x64.gif"        width="64" height="64" />
   <icon href="jdiskreport-splash.jpg" kind="splash"            />
   <offline-allowed />
 </information>
 <security>
 <all-permissions />
 </security>
 <resources>
   <j2se version="1.4+" initial-heap-size="12m" max-heap-size="256m" /

   <jar href="jdiskreport.jar" />
 </resources>
 <application-desc main-class="com.jgoodies.jdiskreport.JDiskReport" /

</jnlp>

-------------------------
Exception:
-------------------------
JNLPException[category: Launch File Error : Exception: null :
LaunchDesc:
<jnlp spec="1.0+" codebase="http://javadl.sun.com/webapps/jawsautodl/
AutoDL/j2se/">
 <information>
   <title>J2RE 1.6.0 Installer</title>
   <vendor>Sun Microsystems, Inc.</vendor>
   <homepage href="null"/>
 </information>
 <security>
   <all-permissions/>
 </security>
 <update check="timeout" policy="always"/>
 <resources>
   <java href="http://java.sun.com/products/autodl/j2se"
version="1.3+"/>
   <jar href="http://javadl.sun.com/webapps/jawsautodl/AutoDL/j2se/
javaws-1_0_1-j2re-1_6_0-inst-windows-i586.jar" download="eager"
main="false"/>
   <jar href="http://javadl.sun.com/webapps/jawsautodl/AutoDL/j2se/
javaws-1_0_1-j2re-1_6_0-data-windows-i586.jar" download="lazy"
main="false"/>
   <property name="javaVersion" value="1.6.0"/>
   <property name="platformVersion" value="1.6"/>
   <property name="installerLocation" value="javaws-1_0_1-j2re-1_6_0-
data-windows-i586.jar"/>
   <property name="installerEntry" value="jre.dat"/>
   <property name="licenseEntry" value="LICENSE"/>
   <property name="lib" value="j2re-installer"/>
   <property name="msvcrt.versionMS" value="60000"/>
   <property name="msvcrt.versionLS" value="20910000"/>
   <property name="execString" value="{0} {1}"/>
   <property name="javaPath" value="bin\javaw.exe"/>
   <property name="verbose" value="true"/>
   <property name="hopper" value="true"/>
   <property name="isWindowsInstall" value="true"/>
   <nativelib href="http://javadl.sun.com/webapps/jawsautodl/AutoDL/
j2se/javaws-1_0_1-j2re-1_6_0-native-windows-i586.jar" download="eager"
main="false"/>
 </resources>
 <installer-desc main-class="com.sun.webstart.installers.Main"/>
</jnlp> ]
    at com.sun.javaws.Launcher.executeInstallers(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Ramon F Herrera - 03 Oct 2007 07:48 GMT
> Is there any change in JWS lately? There used to be a small
> application with a set of programs and their status. The computer
> would connect to the home of the JNLP program and get the latest
> version. Now all I get when I double click on javaws.exe is a dialog
> message.

This is the way to execute the "Java Cache Viewer", plus control panel
under Java 6:

C:\> javaws -viewer

So, that is one problem out of the way. But the crashing continues and
the rest of the questions are still open....

TIA!

-Ramon
Andrew Thompson - 03 Oct 2007 10:37 GMT
>Summary:
>
>Is Java 6 ready for prime time?

Yes, and it has been so for some time (IMO).
I started using it a couple of months ago, and the only problems
I have expereinced came from faulty Java (source) or JNLP files.

>Is it just my computer?

I am suspecting as much.

>How come Borland/CodeGear is shipping Eclipse with a 1.5 JRE today?

No idea.  What did B/CG have to say on the matter?

>Questions:
>
>Can anyone of you folks out there run one of the most popular Java
>applications, jDiskReport under Java 6 and JaWS?
>
>     http://www.jgoodies.com

Do you mean this one?

<http://www.jgoodies.com/download/jdiskreport/jdiskreport.jnlp>

Trying it here, on a Win XP Pro. box..
[console]
Java Web Start 1.6.0_02
Using JRE version 1.6.0_02 Java HotSpot(TM) Client VM
User home directory = C...
[/console]

[splash]
The digital signature has expired.
1.3.0
[WTE]
"JDiskReport enables you to understand how much disk space
the directories and files consume on your disk drives."
[/WTE]
'Next'
[/splash]
'Accept' terms of license
(choose some things)  
See report on sub-dir of D: dirve.

Yep.  It seems to work just fine in 1.6 here.

>Is there any change in JWS lately?

Some minor ones, none that seem relevant to this problem.

...
>More Information - Error: No JRE version found in launch file for this
>system

Is that all web start?  Check here ..
<http://www.physci.org/jws/version.html#enable>
..it is a page I wrote about enabling *earlier* Java versions,
but just check 1.6 is listed in the /JNLP runtime settings/
dialog.

BTW -
>-------------------------
>Launch File
>-------------------------
><?xml version="1.0" encoding="utf-8"?><jnlp codebase="http://
>javadl.sun.com/webapps/jawsautodl/AutoDL/j2se">  

- where is this second JNLP file coming from?  It has
nothing to do with JDiskReport, AFAIU.

Signature

Andrew Thompson
http://www.athompson.info/andrew/



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.