]
Aurélien Pupier commented on JBIDE-22642:
-----------------------------------------
it is no longer happening in Neon because the feature has been removed ;-)
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
Fix For: 4.4.0.Final
- 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}