webstartlab.mm and webstartlab.mmp into
the mcr area of your TRAIN option tree.
graphicslab3.mm --> webstartlab.mm graphicslab3.mmp --> webstartlab.mmp
UPDATE to add WEBSTARTLAB to the dictionary.$NMROOT/jars/xxx_webstart.jnlp substituting your initials for xxx.$NMROOT/jars/xxx_webstart.html again
substituting your initials for xxx.<your_initials>_webstart.html file to change the link (<a href="...">) to match your initials.<your_initials>_webstart.jnlp file...
href="..." to a relative link
to your .jnlp file (i.e. xxx_webstart.jnlp again substituting your initials for xxx)
and codebase="..." to a local file URL for your $NMROOT directory (i.e
file:///home/student/nxmxxx). nxm-train.jar file. It will look similar to the
one for nxm-sys.jar but will omit the main="true" part.<resources>, add a new <property...> tag as shown below.
<property name="OPTS" value="TRAIN,SYS"/>
PATH correctly to include TRAIN and SYS option trees.)<argument>...</argument> so that it runs your macro
(webstartlab) rather than shellgui.nxm-train.jar JAR file. You can do this by running...
nM> make all train
javaws command:javaws file:///home/student/nxmxxx/jars/xxx_webstart.html