[
https://issues.jboss.org/browse/JBIDE-12229?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-12229:
-------------------------------------
I just made a commit. It seems on linux, jre's under 1.7.x were NEVER Returning
-server anymore. This was clearly a bug. However I am NOT able to replicate at all where a
server adds the -server flag and shouldn't.
On windows, for ALL versions of java, the location of the 'server' folder is
${jdkhome}\jre\bin\server This has not changed through any versions of java at all.
The code in JavaUtils clearly recognizes this fact:
{code}
private static File getWindowsServerLibFolder(String version, IVMInstall install)
{
IPath locPath = new Path(install.getInstallLocation().getAbsolutePath());
return
locPath.append("jre").append("bin").append("server").toFile();
//$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
{code}
Are you sure you're using a clean workspace with all new servers? This will not update
old servers, but will only affect the server on creation.
Error properly when server start fails because of -server parameter
-------------------------------------------------------------------
Key: JBIDE-12229
URL:
https://issues.jboss.org/browse/JBIDE-12229
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JBossAS/Servers
Affects Versions: 3.3.0.CR1
Environment: jbdevstudio-product-eap-universal-5.0.0.v20120615-1714-H213-GA.jar
Windows XP
Reporter: Martin Malina
Assignee: Rob Stryker
Fix For: 3.3.2, 3.4.0.M1
Attachments: JBIDE-12229.patch
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira