This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes WinXP, Acronis and Java Web Start 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 "WinXP, Acronis and Java Web Start issue" Watch "WinXP, Acronis and Java Web Start issue" New topic

WinXP, Acronis and Java Web Start issue

Sergio Marcello
Ranch Hand

Joined: Jun 20, 2008
Posts: 36
Hi Ranchers !

We are experiencing a strange issue with a Java Web Start application, maybe someone of you could help us to find the solution ?

The scenario:

We have a Java Web Start application that ran flawless from within a Firefox browser; the operating system being Win XP, and java JRE 1.6 were installed.

We made also a backup of the pc, using Acronis 2011. So far, so good.

Las time we had an hardware issue, and we have to change the pc with another one. The hardware of the new pc differs a bit from the old one; but we could install all the operative system and data on the new pc using the Acronis backup, and that without problem - well, we had of course to install the right drivers for the 'new' hardware.

The problem arises as we run again the same Java Web Start application; in fact, it works no more, and java complains about a strange Class Cast exception:

So we have unistalled JRE, ran CrapCleaner, and re-installed java JRE - same error. We have also tried to install a newer java JRE, still no joy.

We suppose that the problem could be that the target pc has a different hardware from the source pc; still, apart of un-install and re-install the JRE, we don't know how to solve the issue.

Any suggestion would greatly appreciated.


Paul Clapham

Joined: Oct 14, 2005
Posts: 19720

It sounds rather as if the JRE is handling fonts differently on the new machine than it was on the old machine. (This might come under the heading of "we had of course to install the right drivers for the 'new' hardware".) But that is just a wild guess.

Do you get the same problem if you run your code as a plain old Java application on the new machine, instead of via JNLP?
Sergio Marcello
Ranch Hand

Joined: Jun 20, 2008
Posts: 36
Hi Paul,
unfortunately we don't have the source code of the application, so we could not know if the same problem would arise with a plain old java application..

More ideas ?
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3718

Did you try to clear the Java cache using Java Control Panel? I suppose it was restored with other files using Acronis and maybe it lived through both the JRE reinstallation and the CrapCleaner. We sometimes experience errors that get solved by clearing the Java cache, though in a circumstances different from yours.
Sergio Marcello
Ranch Hand

Joined: Jun 20, 2008
Posts: 36
We have solved by changing the 'look an feel', from 'nimbus' to 'metal'.

There's a config file - something like 'portal.ini' - which can be changed, and affects the application.

Thanks all for the kind help,

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: WinXP, Acronis and Java Web Start issue
It's not a secret anymore!