[jbosstools-issues] [JBoss JIRA] (JBIDE-22642) ProcessInformationStore.loadprocessStore doesn't work on Windows

Aurélien Pupier (JIRA) issues at jboss.org
Thu Jun 23 05:11:00 EDT 2016


Aurélien Pupier created JBIDE-22642:
---------------------------------------

             Summary: 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


- it searches for a jps file although the file is jps.exe

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)



More information about the jbosstools-issues mailing list