• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WinXP, Acronis and Java Web Start issue

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Regards,
Sergio.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ?
 
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
Sergio.

 
reply
    Bookmark Topic Watch Topic
  • New Topic