Mix of different runtime problems on a mac.
Hi,
I'm on a mac 10.3 and have no intentions of upgrading. When I try to start some demo's I get a lot of different errors, all as far as I can tell related to the JRE. I installed everything from the apple website:
Java webstart 2.3.0 (modified the May 2007)
Applet Launcher 1.4 (modified the May 2007)
Here's 2 of them: I give the info I get from the console:
1. An error occurred while launching/running the application.
Title: jME (v0.11) Test [curve.TestBezierCurve]
Vendor: jMonkeyEngine, LLC
Category: Invalid Argument error
The application has requested a version of the Java 2 platform (JRE) that is currently not locally installed. Java Web Start was unable to automatically download and install the requested version. The JRE version must be installed manually.
*launch file*
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+"
codebase="http://www.jmonkeyengine.com/webstart/"
href="jmedemo.php/curve.TestBezierCurve">
<information>
<title>jME (v0.11) Test [curve.TestBezierCurve]</title>
<vendor>jMonkeyEngine, LLC</vendor>
<homepage href="http://www.jMonkeyEngine.com"/>
<icon href="jme_logo.jpg"/>
<description>jME (0.11) JNLP Test - curve.TestBezierCurve</description>
<description kind="short">jME Technology Preview</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="jmetest.jar" main="true"/>
<jar href="jmetest-data.jar"/>
<extension name="jme" href="http://www.jmonkeyengine.com/webstart/jme.jnlp" />
</resources>
<property key="java.library.path" value="." />
<application-desc main-class="jmetest.curve.TestBezierCurve"/>
</jnlp>
*exception*
JNLPException[category: Invalid Argument error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:259)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
at com.sun.javaws.Launcher.run(Launcher.java:167)
at java.lang.Thread.run(Thread.java:552)
*console*
Java Web Start 1.4.2_12 Console, started Thu May 03 10:23:16 NZST 2007
Java 2 Runtime Environment: Version 1.4.2_12 by Apple Computer, Inc.
Example 2:
An error occurred while launching/running the application.
Title: Tower Of Hanoi
Vendor: J黵gen Failenschmid
Category: Launch File Error
Unsupported JNLP version in launch file: 1.5+. Only version 1.0 is supported with this version. Please contact the application vendor to report this problem.
*launch file*
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Tower Of Hanoi Webstart Configuration -->
<jnlp spec="1.5+"
codebase="http://projects.anycpu.com/toh/"
href="toh.jnlp">
<information>
<title>Tower Of Hanoi</title>
<vendor>J黵gen Failenschmid</vendor>
<homepage href="http://www.anycpu.com/Java3DExample.htm"/>
<description>Tower Of Hanoi</description>
<description kind="short">Animated implementation of the Tower Of Hanoi puzzle using Java 3D.</description>
<description kind="tooltip">Tower Of Hanoi</description>
<!-- Gif or Jpeg: 64x64 during download; 32x32 as icon. Automatically resized. -->
<icon href="icon.gif"/>
<!-- Splash screen during launch -->
<icon kind="splash" href="splash.jpg"/>
<offline-allowed/>
<shortcut online="false">
<desktop/>
<menu submenu="Anycpu"/>
</shortcut>
</information>
<!--
Java 3D will not run with minimum security.
Therefore, the application JARs have to be signed.
-->
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="toh.jar" main="true"/>
<jar href="jars/commons-logging.jar"/>
<jar href="jars/log4j.jar"/>
<extension href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
</resources>
<application-desc main-class="net.pacbell.jfai.toh.util.Launcher">
<argument>net.pacbell.jfai.toh.TowerOfHanoi</argument>
<argument>splash.jpg</argument>
</application-desc>
</jnlp>
*exception*
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.5+" codebase="http://projects.anycpu.com/toh/" href="http://projects.anycpu.com/toh/toh.jnlp">
<information>
<title>Tower Of Hanoi</title>
<vendor>J黵gen Failenschmid</vendor>
<homepage href="http://www.anycpu.com/Java3DExample.htm"/>
<description>Tower Of Hanoi</description>
<description kind="short">Animated implementation of the Tower Of Hanoi puzzle using Java 3D.</description>
<description kind="one-line">Tower Of Hanoi</description>
<description kind="tooltip">Tower Of Hanoi</description>
<icon href="http://projects.anycpu.com/toh/icon.gif" kind="default"/>
<icon href="http://projects.anycpu.com/toh/splash.jpg" kind="splash"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se initial-heap-size="-1" max-heap-size="-1" version="1.5+"/>
<jar href="http://projects.anycpu.com/toh/toh.jar" download="eager" main="true"/>
<jar href="http://projects.anycpu.com/toh/jars/commons-logging.jar" download="eager" main="false"/>
<jar href="http://projects.anycpu.com/toh/jars/log4j.jar" download="eager" main="false"/>
<extension href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
</resources>
<application-desc main-class="net.pacbell.jfai.toh.util.Launcher">
<argument>net.pacbell.jfai.toh.TowerOfHanoi</argument>
<argument>splash.jpg</argument>
</application-desc>
</jnlp> ]
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:179)
at com.sun.javaws.Launcher.run(Launcher.java:167)
at java.lang.Thread.run(Thread.java:552)
*console*
Java Web Start 1.4.2_12 Console, started Thu May 03 10:17:25 NZST 2007
Java 2 Runtime Environment: Version 1.4.2_12 by Apple Computer, Inc.
Help greatly appreciated.

