Hi to all,
Eclipse has never supported Web Start directly (maybe with some plugin
but i don't remember), for this it has always been better NetBeans.

To create a remote debug session, there are some command to give to
the JVM that run the test application, something like this:

from command line:

set JAVAWS_VM_ARGS=-Xdebug
-Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=8200

or from eclipse the same (without the variable declaration), as
additional parameters to the launch configuration.


But to run my test application (without debug) a simpler way is to:
- in project classpath add the jar for Web Start (directly or maybe
with an eclipse variable), pointing to jre/lib/javaws.jar
- put new classes in core and core-test and compile them
- generate jars
- use a local jnlp file that points the new jars
- configure Java to open the console (to see my log, all output in my
test is only to console)
- double click on that jnlp
- et voilĂ , all should work.

If not, please tell me ... i have put a sample jnlp file some time
ago, tell me if you not find it.


Web Start is a complex thing, with many interesting ideas inside but i
agree that is has many thing complex (too much). Starting from Java 6
Update 10 many bugs has been solved (at least on Windows, maybe on
other platforms could be solved before,i don't know), so now it's
really usable and useful in many cases

Sandro

Reply via email to