This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Is editing of client copy of jnlp file possible when using JWS?
deploying JNLP in Jetty web server of jboss.
Signing JNLP - Where does JNLP-INF directory go?
jnlp and property files
Jnlp cannot find the main class in a Jar packaged using "OneJar".