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

Alexey Kazakov (JIRA) issues at jboss.org
Wed Jun 29 10:47:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258665#comment-13258665 ] 

Alexey Kazakov commented on JBIDE-22642:
----------------------------------------

It looks like the PR was rejected because it's not relevant to 4.4.x (master).
[~rob.stryker] please comment in jira too.
[~aurelien.pupier] if you really need this fix in 4.3.x and have it fixed in 4.4.x is not enough for you then please speak up! We will need to raise this to our PM to see if we should/can do a patch release for 4.3.x

> 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)



More information about the jbosstools-issues mailing list