File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Updating JNLP main class issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Updating JNLP main class issue" Watch "Updating JNLP main class issue" New topic
Author

Updating JNLP main class issue

Kyle Rome
Greenhorn

Joined: May 21, 2012
Posts: 1
Hello Everyone.

I'm having an issue where the name of my main class has changed, but after altering the jnlp file it still is looking for the old class name.

pretty much i am trying to change:
<application-desc main-class="myApp.OldClass"> to
<application-desc main-class="myApp.NewClass">

but when someone goes to launch the application who has previously used it, it appears to be using a cached version of the jnlp file and not updating this descriptor. If i alter the name of the jnlp file it works fine for most people, but some people still have an issue where it will look for the old jnlp file as if the website is cached and not updating either. Any help would be appreciated.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Updating JNLP main class issue