File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes Java.lang.ClassCastException incompatible with com.sun.deploy.Cache.CachedJarFile 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 "Java.lang.ClassCastException incompatible with com.sun.deploy.Cache.CachedJarFile" Watch "Java.lang.ClassCastException incompatible with com.sun.deploy.Cache.CachedJarFile" New topic

Java.lang.ClassCastException incompatible with com.sun.deploy.Cache.CachedJarFile

Neha Joshi

Joined: Feb 01, 2011
Posts: 1
Hi there,

One of the client(who uses our product for testing) is getting this exception when trying to load the JNLP file.
He has signed all the JARS, but unable to launch the JNLP.
After doing some search I found that it happens due to cached file that can be removed from JAVA control panel view.
I suggested the client same thing , but it didnt work in his enviroment.

Can you please guide me , how should I investigate this issue further.

Along with this I have another seperate question to ask.
From Commandline I am including a parameter -J-Declipse.startTime=true when trying to load JNLP. JAVAWS -J-Declipse.startTime=true example.jnlp

Now as we want to call this JNLP from webpage , how can I include this property.
I have tried addig this property in resources->property but didnt help. { The effect is not seen, as I am using this property to resove one of the issue}
Let me know if anyone has any idea about this.
I agree. Here's the link:
subject: Java.lang.ClassCastException incompatible with com.sun.deploy.Cache.CachedJarFile
It's not a secret anymore!