> Hi,
> I want to execute a java GUI program outside of the IDE. I don't want to use
> an installer at this stage.
> I know one can invoke a command line java app by typing: java some_class at
> the command line, but can't figure out how to invoke a GUI app.
its ok I found the answer on the sun site
I need to set up a shortcut and include the command in the path
eg.
javaw[space][optional_switches][path][space][class_name]
Bryan E. Boone - 26 Oct 2003 21:12 GMT
If you put the classpath and tell the jvm what the main class is in the
manifest, then
you [potentially] won't need a batch file.
You can use java -jar [jar_file.jar]
Much nicer than a batch file IMHO.
-Bryan
> > Hi,
> > I want to execute a java GUI program outside of the IDE. I don't want to
[quoted text clipped - 8 lines]
> eg.
> javaw[space][optional_switches][path][space][class_name]