2010年7月27日星期二

Running Eclipse with Java 1.6.0 update 21? Please follow the instructions here to resolve crashing and freezing issues.

Oracle/Sun VM 1.6.0_21 on Windows

The Eclipse 3.3 - 3.6 launchers for Windows have a problem with the Oracle/Sun Java VM version '1.6.0_21'. You have three choices to work around this:

  1. switch back to '1.6.0_20' (as of July 19, 2010 it can still be downloaded here)
  2. Change the commandline for launching or add the following line after "-vmargs" to your eclipse.ini file:
    -XX:MaxPermSize=256m
    (Detailed instructions/examples)
  3. For Helios, download the fixed eclipse_1308.dll and place it into
    (eclipse_home)/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503

The bug itself is open for voting and comments as 6969236 on the Java BugParade, and as bug 319514 on the Eclipse side.

2010年3月23日星期二

no db2jdbc64 in java.library.path

When I installed the DB2 V9 and start my Application, I got the following error:
java.lang.UnsatisfiedLinkError: no db2jdbc64 in java.library.path

After trying to switch Eclipse JRE to a 32bit version, this issue is gone. Hope it's helpful for other users who get this error.

2010年1月22日星期五

64bit Launch Eclipse Error Out "jvm terminated.Exit code=-1"



I got a very strange error when launch Eclipse 64 bit after reinstalling the Windows 7 64bit. Then I checked the java version, it's 64 bit. Google this error message, it said 64bit eclipse requires 64 JVM.

Try to specify the JVM location by adding the launch parameter -vm "I:\Program Files\Java\jdk1.6.0_18\bin\javaw.exe", it works. Not sure what's the real problem.Please let me know if you find the root cause.