Eclipse配置问题:Error :- java runtime environment JRE or java development kit must be available in order to run eclipse

Let eclipse use your java vm directly!

Put these lines at the end of eclipse.ini (located in the directory where eclipse.exe is present):

-vm
<your path to jdk|jre>/bin/javaw.exe

 

Pay attention that there are two lines. Also make sure that the -vm option is before the -vmargs option (and of course after "openFile").

posted @ 2015-04-09 19:44  obso_lu  阅读(140)  评论(0编辑  收藏  举报