GlassFish in Eclipse complains “GlassFish v3 requires a JDK 1.6 and not a JRE”

前端 未结 4 944
栀梦
栀梦 2021-01-04 04:41

I am running:

  • Eclipse Java EE IDE for Web Developers.
  • Version: Helios Service Release 2
  • Build id: 20110218-0911

I have also in

4条回答
  •  半阙折子戏
    2021-01-04 05:08

    For other people like me who still have a problem, try to be careful in your JRE Definition :

    Don't use this : C:\Program Files\Java\jdk1.6.0_29\jre

    but this : C:\Program Files\Java\jdk1.6.0_29

    and Glassfish will eventually work.

提交回复
热议问题