Solve the Problem of wbpro visual Editing: eclipse is running under 1.5, but this Java project has a 1.6

Source: Internet
Author: User

Solve the problem that wbpro (swtdesigner, swingdesigner) appears in visual editing

Incompatible Java versionseclipse is running under 1.5, but this Java project has a 1.6 Java compliance level, so windowbuilder will not be able to load classes from this project. use a lower level of Java for the project, or run eclipse using a newer Java version.

 

Cause:

Myeclipse uses the built-in JRE version 1.5, so you need to replace it with 1.6.

Solution:

Myeclipse 7.0 m2, installation path: D: \ Program Files \ myeclipse 7.0 m2

Close eclipse, delete the JRE directory under D: \ Program Files \ myeclipse 7.0 m2, and copy the JRE directory under java_home (My jre1.6.0 _ 18) to D: \ Program Files \ myeclipse 7.0 m2 is renamed as JRE

Start eclipse.

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.