Thread-topic: Using command line options with java web start
Hey All,
After reading the man page for javaws, I've discovered that one can use
the -shortcut switch (with the -silent and the -import switch) to
silently create a shortcut. Has anyone had success with this? When I
try to use the -shortcut I get an exception. Here's the stack trace:
Exception in thread "javawsApplicationMain" java.awt.HeadlessException
at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:317)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at
com.sun.javaws.MacOSLocalInstallHandler.handleInstall(MacOSLocalInstallH
andler.java:173)
at
com.sun.javaws.MacOSLocalInstallHandler.install(MacOSLocalInstallHandler
.java:101)
at
com.sun.javaws.LocalInstallHandler.doInstall(LocalInstallHandler.java:47
2)
at
com.sun.javaws.LocalInstallHandler.installFromLaunch(LocalInstallHandler
.java:414)
at
com.sun.javaws.Launcher.notifyLocalInstallHandler(Launcher.java:1063)
at
com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:507)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:613)
I'm using java 1.5.
Thanks in advance,
Matt
--
Matt Weiss - Software Journeyman
X-Rite, Incorporated
3100 44th Street SW
Grandville, MI 49418
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden