This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ExceptionInIntializerError

 
B pandoo
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh -- and this has nothing whatsoever to do with performance; I'll move this to Java in General (Intermediate).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic