My Java version is the newest version but my JVM is still 1.5?

前端 未结 5 552
误落风尘
误落风尘 2021-01-24 01:45

Recently I tried to use Eclipse but when I open it,it told me my JVM verion is too old

Incompatible JVM
Version 1.5.0_05 of the JVM is not suitable for this prod         


        
5条回答
  •  一个人的身影
    2021-01-24 02:05

    This happen when you have another java version installed in your S.O. and the path to this version stay in "Environment Variables"."Path". So, remove any path that is pointing to another old version of java. In my case, i have oracle Forms6i installed in my S.O., and the installation program putted the path to the java 1.4. In my case the path was: C:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client; C:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin;

    To access "Ambient Variables" no windows, right click mouse button on "My Computer" -> "Properties". On the left side click in "Advanced System Settings", on the top, click in the guide "Advanced", then click in the last button on the bottom, "Enviroment Variables". On the bottom have "System Variables", search for "Path" and do what i said there on top.

提交回复
热议问题