Resolves an eclipse auto-exit issue on unbuntu14.04

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.