No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

后端 未结 30 2214
盖世英雄少女心
盖世英雄少女心 2020-11-22 15:40

I\'m compiling a project in Eclipse using m2eclipse. I set the JDK path in Eclipse like this:

Windows-->preferences-->installed jres--> jdk1.7.xx  p         


        
30条回答
  •  死守一世寂寞
    2020-11-22 16:22

    In my case I had system variable path has "C:\ProgramData\Oracle\Java\javapath" location.

    In "C:\ProgramData\Oracle\Java\javapath" location java, javaw only there. So I am getting the same error.

    Once I removed all files in "C:\ProgramData\Oracle\Java\javapath" folder my error got resolved.

提交回复
热议问题