The newly installed version of ubuntu14.04, which copies the previous 12.04 normal use of Eclipse to 14.04, when you start Eclipse, when you enter the code, a point appears "." The prompt will restart automatically.
JDK is 1.7.
After finding out, we need to modify the following two places:
(1) Confirm project-> Properties, Java Compiler, Compiler compaliance level is 1.7
The first one defaults to 1.7, so just modify the Eclipse.ini file.
(2) Modify the Eclipse.ini file
Modify the content, change the-dosgi.requiredjavaversion=1.6 to 1.7, modify the result as follows:
-dosgi.requiredjavaversion=1.7
In addition, if-xx:maxpermsize=256m, you can modify this value a little bit, for example:
-xx:maxpermsize=m
Restarting the ECLISPE is OK and will not restart again.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Resolves an eclipse auto-exit issue on unbuntu14.04