wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes Use Eclipse to run JNLP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Use Eclipse to run JNLP" Watch "Use Eclipse to run JNLP" New topic
Author

Use Eclipse to run JNLP

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 245
I can use Java web start to start my application on the command line.
How to run my application inside Eclipse 3.3.2?
Can I run my application inside Eclipse without Java web start? How?


Clicking the launch.jnlp file inside Eclipse only open the text editor.
javaws http://localhost:7001/webstart/myapp/launch.jnlp

launch.jnlp:
sourabh girdhar
Ranch Hand

Joined: Feb 10, 2010
Posts: 71

You can run your application in eclipse as normal java application. Create a project with all depnedencies and then you can use simply use ANT to target main class and invoke it with all other arguments and ussual settings.

This is all assuming that you have complete code on your machine. If you are trying to setup, some third party app, then getting all jars together with appropriate name could be issue as Java ws uses internal caching in your temp folder with strange naming conventions.

If you want to start webstart in eclipse by clicking jnlp file , you can setup preferences in eclipse to open .jnlp file with external tool "javaws".


SCJP SCWCD AIX SOA
The significant problems we face cannot be solved by the same level of thinking that created them -- Albert Einstein

prem pillai
Ranch Hand

Joined: Nov 02, 2007
Posts: 87

Why do you want to run your webstart application in eclipse ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use Eclipse to run JNLP
 
Similar Threads
running Eclipse RCP application from JWS: jws starts, but closes immediatly
Use Java web start to start application on the command line by the file name
find out the variables' value in the jnlp file
ClassNotFound Exception..
How to un jnlp app offline?