I watched today as someone painlessly exported a NetBeans java project to a JNLP file and HTML file that he could just copy to his web server. Making JNLP files by hand is slightly obnoxious, especially given the codebase
parameter. I would love if I could do the same in Eclipse, but I can't seem to find such a function or a plugin which does this.
The only thing I've found is this article but I can't really parse it, it's a bit dense to me, for instance it mentions:
Ensure that the org.eclipse.equinox.launcher plug-in is in the feature or in one of the included feature;
But if that's even a grammatical sentence, I don't know how to ensure what it says.
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". Why do you want to run your webstart application in eclipse ?
In the top right corner of the Control Panel, select Category from the view by: pull down menu. Click the Programs link. Under Default Programs, click the Make a file type always open in a specific program link. Under the Name column, locate and select JNLP from the list of Extensions.
Since I never did find an easy way to do it in Eclipse, I did one better, and made JNLPs easy to use on your server! I took the time to figure out the different little quirks that were confusing me, and decided that the necessity to manually specify an absolute codepath is obnoxious. So I wrote a PHP class which generates your JNLP file for you, so that you don't need to worry about the XML at all, and even better, you can use the exact same PHP file on a development server and a live server, or move it around, or whatever you'd like. It updates the codebase dynamically. Solved my problems.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With