I\'ve been using Eclipse for some time already, and I didn\'t have any problems with it. However, when I tried to generate some javadoc, I found that I didn\'t have the SDK
First Approach:
I added below lines in eclipse.ini
-vm C:\Program Files(x86)\Java\jre\bin\java.exe
Modified below line in eclipse.ini
(changed to 1.6.0_37
from 1.5
),
-Dosgi.requiredJavaVersion=1.6.0_37
Deleted JAVA_HOME
from environment variables which was pointing to c:\jdk1.6
Now Eclipse is working fine.
Second Approach:
Another way - don't add below line in Eclipse and only modify JAVA_HOME
to point to C:\Program Files(x86)\Java\jre
,
-vm C:\Program Files(x86)\Java\jre\bin\java.exe
Eclipse should work now.