I don't know if it is related but when you run Maven, you have to change the
eclipse.ini file so that Eclipse itself runs inside the JDK rather than the
JRE. You could try updating yours. The line I had to change was:
-vm
C:/Program Files (x86)/java/jdk1.6.0_16/bin/javaw.exe
On Thu, Feb 11, 2010 at 12:42 AM, <glassfish_at_javadesktop.org> wrote:
> I checked and double checked. Eventhough my Eclipse is perfectly happy to
> accept the java in there as a jdk (it would otherwise whine about it not
> being a JDK), for some reason the plugin is not as willing.
>
> I have also adjusted (or should I say added) the JAVA_HOME= entry in the
> asenv.conf but to no avail. The app server starts okay, but when I try to
> start it from the eclipse GUI, it tells me that it is restarting the service
> (and indeed the appserver domain is stopped) and it fails to restart because
> of this weird JDK thing.
> [Message sent by forum member 'cpt' (glassfish_at_cpt1.demon.nl)]
>
> http://forums.java.net/jive/thread.jspa?messageID=386034
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>