aspose file tools*
The moose likes Java in General and the fly likes ExceptionInIntializerError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "ExceptionInIntializerError" Watch "ExceptionInIntializerError" New topic
Author

ExceptionInIntializerError

B pandoo
Ranch Hand

Joined: Nov 14, 2006
Posts: 37
Hi,
I am not able to run any .exe file in my system.Whenever i make an attemept to run any exe file , iam getting java.lang.ExceptionInIntializererror.Please Suggest me solution for this.
Ulas Ergin
Ranch Hand

Joined: Oct 10, 2002
Posts: 77
It seems,an exception is occured in the static initilization block of one of your classes.you should focus on this
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Are you getting a stack trace, or just a one-line error message? If it's a stack trace, you might show it to us -- perhaps it will give us some clues.

It's possible you've got a corrupted Java install; in particular, you may have a JVM from one JDK version trying to use the class library from another Java version. Copying files around from place to place, hacking registry keys by hand, etc. may lead to a situation like this. This is one of those times when uninstalling the Java software, then re-installing it, may help.


[Jess in Action][AskingGoodQuestions]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Oh -- and this has nothing whatsoever to do with performance; I'll move this to Java in General (Intermediate).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ExceptionInIntializerError