This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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: 24211
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: 24211
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