[
https://issues.jboss.org/browse/JBIDE-22642?page=com.atlassian.jira.plugi...
]
Aurélien Pupier commented on JBIDE-22642:
-----------------------------------------
As far as i know it was like that for years and for users there is no big problem. The
feature which was intended to be used has been removed for 4.4.x due to its poor value (if
I understood well)
So I think we can live with the stacktrace even if not very nice.
ProcessInformationStore.loadprocessStore doesn't work on Windows
----------------------------------------------------------------
Key: JBIDE-22642
URL:
https://issues.jboss.org/browse/JBIDE-22642
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jmx
Affects Versions: 4.3.1.Final
Environment: Windows
Reporter: Aurélien Pupier
Assignee: Rob Stryker
- l.90 it searches for a jps file although the file is jps.exe on Windows
jps =
jHomePath.removeLastSegments(1).append("bin").append("jps").toFile();
error log:
{noformat}
java.io.IOException: Cannot run program "C:\Program
Files\Java\jdk1.8.0_65\jre\bin\jps": CreateProcess error=2, The system cannot find
the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at
org.jboss.tools.jmx.local.ProcessInformationStore.loadProcessStore(ProcessInformationStore.java:102)
at
org.jboss.tools.jmx.local.ProcessInformationStore.refreshProcessInformationStore(ProcessInformationStore.java:64)
at
org.jboss.tools.jmx.local.ProcessInformationStore$1.run(ProcessInformationStore.java:140)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file
specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)