So I’m working on my first .jnlp file. First of all can you make these in note-pad(it’s XML right)? :persecutioncomplex:
I keep getting this error and it’s confusing to me because I definetly have a tag(you can check me code below)
MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(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)
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://www.caseykneale.000space.com/applets/" href="RunNous.jnlp">
<information>
<title>Nous - BETA</title>
<vendor>Casey Kneale</vendor>
<homepage href="http://www.caseykneale.000space.com/"/>
<description>Nous: BETA</description>
<description kind="short">Have fun ;D!</description>
<icon href="box.gif"/>
<icon kind="splash" href="box.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions />
</security>
<update check="always" policy="always"/>
<property name="sun.java2d.noddraw" value="true"/>
<resources>
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="32m" max-heap-size="256m"/>
<extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jnlp" />
<jar href="http://www.angelfire.com/psy/reformation/nousWebStart.jar" download="eager" main="true"/>
</resources>
<resources os="Windows">
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<jar href="lib/jogl-win32.jar"/>
<nativelib href="lib/jogl-win32-native.jar"/>
<nativelib href="lib/gagetimer-native.jar"/>
</resources>
<resources os="SunOS" arch="sparc">
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<jar href="lib/jogl-solsparc.jar"/>
<nativelib href="lib/jogl-solsparc-native.jar"/>
</resources>
<resources os="Linux">
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<jar href="lib/jogl-linux.jar"/>
<nativelib href="lib/jogl-linux-native.jar"/>
</resources>
<resources os="Mac OS">
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
<jar href="lib/jogl-macos.jar"/>
<nativelib href="lib/jogl-macos-native.jar"/>
</resources>
<application-desc main-class="NousWindow" />
<component-desc/>
</jnlp>
I understand what the commands do, but this is my first run in with these files, and I’m not sure what web-start is expecting.
Google helps but it only got me 90%(approx).
Thanks for reading!