• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Use Eclipse to run JNLP

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
Ranch Hand
Posts: 81
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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".
 
Ranch Hand
Posts: 87
Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you want to run your webstart application in eclipse ?
reply
    Bookmark Topic Watch Topic
  • New Topic