1

Today I suddenly started encountering

Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/ref/FinalReference

in Eclipse Indigo. I followed here and also I tried here and now I am getting:

Error occurred during initialization of VM java.lang.StackOverflowError

I am building an Android application using Eclipse Java EE IDE.

EDIT: I don't know why it caused the problem but now I am able to run my activity by going through run-run configurations-android application-run.

halfer
  • 19,824
  • 17
  • 99
  • 186
ChanChow
  • 1,346
  • 7
  • 28
  • 57

1 Answers1

2

Problem persist due to JVM. If you will give command like java -version. It gives same problem.

If you want to start eclipse.exe by means of the following :

E:\softwaredownload\eclipse-jee-helios-SR2-win32\eclipse>eclipse -vm "c:\Program Files\Java\jdk1.7.0_03\jre\bin\javaw.exe
j0k
  • 22,600
  • 28
  • 79
  • 90