It's not a secret anymore!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Updating JNLP main class issue" Watch "Updating JNLP main class issue" New topic

Updating JNLP main class issue

Kyle Rome

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.
I agree. Here's the link:
subject: Updating JNLP main class issue
jQuery in Action, 3rd edition