Version 1.5 of the JVM is not suitable for this product. Version: 1.6 or greater is required

Source: Internet
Author: User

Recently, I have been involved in server extension in the company. Although I have never learned java, the smartfoxserver extension uses Eclipse, but after all, it starts with C ++, and it will take a look at other languages, the project is still working. Recently, I saw a student solve some java problems, but I was able to solve some minor problems in my company. However, I found a project that was troublesome and I was ready to check it out after work, I will download and install it ,. when you open eclipse, a title is displayed.

Version 1.5 of the JVM is not suitable for this product. Version: 1.6 or greater is required.

When I saw the prompt, I downloaded another jdk of 1.7. When I tested it using the java-version command, I still showed the java version "1.5", indicating that the method of direct installation would not work.

Re-open eclipse, and there is a pop-up window, indicating that this jdk is not installed. (In fact, the environment is not set successfully)

Later, we downloaded the SDK at http://down1.pc6.com/xy3/jdk6.zipand installed the SDK. It seems like the third installation, just install it in a single installation.

Check the version number in the previous method, change the version number to 1.6, and re-open eclipse.

Some people say it will appear after Oracle is installed. In fact, I have never installed Oracle on my computer. I personally think it should be related to the database.

This should also be a more suitable method for lazy people.

This article is from http://blog.csdn.net/yc7369.

Of course, there are other methods on the Internet.

Modify the path to find the JDK directory. You can modify the database variables.

Generally, the path involves Oracle, and you just need to change it.


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.