When you try to run EAP6/AS7 server with Java JRE (not JDK) as the java runtime, it will fail because the startup command includes "-server" which is not supported by JRE. If you use Java JDK instead, it works fine.
See JBIDE-12227 for more details about the errors displayed.
It would be good if the error made it obvious what the problem actually is.
- is related to
-
JBIDE-12403 Cannot start a server with JBT on eclipse Juno
- Closed
-
JBIDE-12227 EAP6/AS7 fails to start from JBDS on Windows XP default java - exit code 4
- Closed