This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not Able to load class with long name and having 2 $ signs in jnlp

 
Kartik Raina
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guy,

I am really stuck with this problem from last one week. I am calling an external jar in a folder and using a URLClassLoader to load it. After that i have called all the class in the jar file and by putting Class.forName(className, bool, ClassLoader) i am using those classes. When i run the application on a system via a bat file, everything works fine. But when i run the application via JNLP, the Class.forName method does not load a class file having a long name and 2 $ signs and does not go beyond it also. By this all the class files are not loaded and nothing appears. Moreover after this there is no ClassNotFound Exception. Other Aspects of the app are working fine. Please Help........ For an idea i will provide the list of class files.
.
After Thus two more class have to be loaded but it stucks in " DemoForecastACPanel$ButtonsListen$actionLogic " class fine.....
 
Paul Clapham
Sheriff
Posts: 21581
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a "folder", you say. That's kind of vague. Is it a folder on the client machine where the JNLP is running, or on the server where it was downloaded from?
 
Kartik Raina
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason i cannot show the whole file structure otherwise i could have shown you the whole path. And yes the folder is present on the system on which the jnlp will be executed.
 
Paul Clapham
Sheriff
Posts: 21581
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then I interpret that to mean that the folder is on the client, not on the server. Correct me if I am wrong.

Does the same thing happen when you try it with an ordinary Java application, instead of with a JNLP application?
 
Kartik Raina
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya you are correct.
 
Paul Clapham
Sheriff
Posts: 21581
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kartik Raina wrote:ya you are correct.


Sorry, I'm confused. I asked two questions. Was that meant to be the answer to both of them?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic