java: add caveats for GUI applications as Eclipse
Merge pull request #2450 from eugenesan/java

Update to JDK7 u51 and add caveats for GUI applications