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.