• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java.lang.ClassCastException Java.io.File incompatible with com.sun.deploy.Cache.CachedJarFile  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!