Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26074

Re: Use Java web start to start application on the command line by the file name

Date 2011-02-02 12:38 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Use Java web start to start application on the command line by the file name
References <25e04cbd-f271-4dbb-8d3e-b65faf882e4a@n10g2000yqf.googlegroups.com>
Message-ID <4d499698$0$23760$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 02-02-2011 10:34, albert kao wrote:
> I can use Java web start to start my Swing GUI application on the
> command line by the url:
> javaws http://localhost:7001/webstart/myapp/launch.jnlp
>
> How to use Java web start to start my Swing GUI application on the
> command line by the file name?
> The following ways do not work:
> javaws -codebase "" -J-Xrunjdwp:transport=dt_socket launch.jnlp
> javaws -J-Xdebug -J-Xnoagent -J-
> Xrunjdwp:transport=dt_socket,server=n,suspend=y launch.jnlp
> javaws -codebase "" -J-Xrunjdwp:transport=dt_socket,server=n,suspend=n
> launch.jnlp
> javaws -codebase "" -J-Xrunjdwp:transport=dt_socket,server=y,suspend=n
> launch.jnlp
> javaws -codebase ""  launch.jnlp
> javaws -codebase ''  launch.jnlp

Try one of:

file://launch.jnlp
file:///C:/somedir/launch.jnlp

Arne

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Re: Use Java web start to start application on the command line by the file name Arne Vajhøj <arne@vajhoej.dk> - 2011-02-02 12:38 -0500
  Re: Use Java web start to start application on the command line by the file name albert kao <albertkao3@gmail.com> - 2011-02-02 13:09 -0800

csiph-web