This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Updating JNLP main class issue
It's not a secret anymore!