COMP 405

Java EE Tips and Traps 

    Current Home  Java Resources  Eclipse Resources

"Cannot get the System Java Compiler. Please use a JDK, not a JRE" error

First, try changing the default JRE that Eclipse uses (Preferences/Java/Installed JREs) to be a JDK, not a JRE.   If that doesn't work, try the following:

Edit the eclipse.ini file  (must start your ASCII editor "As Administrator" in Windows)  and add the following lines, right above the  "-vmargs" line:

-vm
[java executable location]      e.g. C:\Program Files\Java\jdk1.7.0_17\bin\javaw.exe

Ref:  http://wiki.eclipse.org/Eclipse.ini

 

Upgrading Eclipse with GWT and GAE plugins

Sooner or later you will need to upgrade Eclipse and/or its GAE and GWT plugins.    Unfortunately, the upgrade process may not be as smooth as one wishes.  Here are some issues to be aware of:

 


© 2013 by Stephen Wong