java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified

SpringSource Issue Tracker | william woodman | 3 years ago
  1. 0

    [STS-3429] timeout error when running console in 3.3M2 (and in 3.2) from works laptop - SpringSource Issue Tracker

    springsource.com | 11 months ago
    java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified
  2. 0

    nearly a repeat of sts3269 on 3.2GA tried upgrading to grails 3.2 and created new project tried to run console and got timeout error - the console starts - but when timeout fires it kills the console. looked on google and found case STS-3269 which i have commented against - this was claimed resolved in 3.3M2 i downloaded 3.3M2 did a clean install - build new grails project and ran the console - still get timeout error but the console stay up and working i have tried downloading 3.3M2 - and doing fresh install - slightly better it still times out with an error - but it doesnt take the console away - it stays up - but the error remains not sure what this means and wanted a fix for 3.2 GA but cant find one. Under 3.2 when the timeout occurs - it kills the console app - but on 3.3m2 console stays running on 3.2 i tried clearing the pref>grooy>grails>launch - keep running flag - makes no difference the console dies as soon as the timeout fires included cut and paste from last entry on previous issue ----- however its hard to figure what whats causing the timeout error i have kept external grails running is set on this initial run I dont understand the error i see on the proxy - i am using company laptop and we have a proxy script and its set in internet options - i can use the browser from my laptop at home - but i'm not useing the VPN - just the bt home hub to get internet - next dump is after i access the vpn and included that log also !SESSION 2013-06-18 22:43:38.232 ----------------------------------------------- eclipse.buildId=3.3.0.201306021059-M2-e43 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product org.springsource.ggts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product org.springsource.ggts.ide !ENTRY org.eclipse.core.net 4 0 2013-06-18 22:46:32.200 !MESSAGE WinHttp.DetectAutoProxyConfigUrl for wpad failed with error 'The Proxy Auto-configuration URL was not found. ' #12180. !ENTRY org.eclipse.egit.ui 2 0 2013-06-18 22:46:42.371 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\802518659'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Result of converting legacy STS 2.x workspace preferences to 3.x !SUBENTRY 1 org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Converted legacy STS plugin preferences !SUBENTRY 1 unknown 0 0 2013-06-18 22:46:42.668 !MESSAGE OK !SUBENTRY 1 org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Converted legacy Roo plugin state locations !SUBENTRY 1 org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Converted legacy STS plugin state locations !ENTRY org.eclipse.equinox.p2.operations 2 0 2013-06-18 22:48:21.367 !MESSAGE Operation details !SUBENTRY 1 org.eclipse.equinox.p2.operations 2 10001 2013-06-18 22:48:21.367 !MESSAGE Your original request has been modified. !SUBENTRY 2 org.eclipse.equinox.p2.operations 2 10004 2013-06-18 22:48:21.367 !MESSAGE "SpringSource UAA Integration (optional)" will be ignored because a newer version is already installed. !ENTRY org.eclipse.equinox.p2.operations 2 0 2013-06-18 22:48:21.492 !MESSAGE Operation details !SUBENTRY 1 org.eclipse.equinox.p2.operations 2 10001 2013-06-18 22:48:21.492 !MESSAGE Your original request has been modified. !SUBENTRY 2 org.eclipse.equinox.p2.operations 2 10004 2013-06-18 22:48:21.492 !MESSAGE "SpringSource UAA Integration (optional)" will be ignored because a newer version is already installed. !SESSION 2013-06-18 22:51:01.367 ----------------------------------------------- eclipse.buildId=3.3.0.201306021059-M2-e43 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product org.springsource.ggts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product org.springsource.ggts.ide !ENTRY org.eclipse.egit.ui 2 0 2013-06-18 22:51:24.860 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\802518659'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.core.net 4 0 2013-06-18 22:51:25.937 !MESSAGE WinHttp.DetectAutoProxyConfigUrl for wpad failed with error 'The Proxy Auto-configuration URL was not found. ' #12180. >>> when i connect with the VPN and rerun i get this error (console still stays up ) !ENTRY org.grails.ide.eclipse.core 4 0 2013-06-18 23:03:39.920 !MESSAGE Problem executing: console !STACK 1 org.eclipse.core.runtime.CoreException: Command terminated with an exception: java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified (see details for partial output) at org.grails.ide.eclipse.core.launch.SynchLaunch$LaunchResult.getCoreException(SynchLaunch.java:168) at org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:113) at org.grails.ide.eclipse.longrunning.LongRunningProcessGrailsExecutor.synchExec(LongRunningProcessGrailsExecutor.java:82) at org.grails.ide.eclipse.commands.GrailsCommand.synchExec(GrailsCommand.java:169) at org.grails.ide.eclipse.ui.internal.inplace.GrailsLaunchUtils$1.run(GrailsLaunchUtils.java:127) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.exec(GrailsProcessStackTracer.java:104) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getGrailsProcessId(GrailsProcessStackTracer.java:72) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getStackTraces(GrailsProcessStackTracer.java:92) at org.grails.ide.eclipse.longrunning.client.GrailsClient.executeCommand(GrailsClient.java:381) at org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:85) ... 4 more 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>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 10 more Contains: -----System.out:---------- Loading Grails 2.2.2 Configuring classpath. Environment set to development..... Packaging Grails application.... Compiling 1 source files..... Packaging Grails application. Compiling 1 source files..... Contains: -----System.err:---------- !SUBENTRY 1 org.grails.ide.eclipse.core 4 4 2013-06-18 23:03:39.920 !MESSAGE Command terminated with an exception: java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified (see details for partial output) !STACK 0 java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.exec(GrailsProcessStackTracer.java:104) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getGrailsProcessId(GrailsProcessStackTracer.java:72) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getStackTraces(GrailsProcessStackTracer.java:92) at org.grails.ide.eclipse.longrunning.client.GrailsClient.executeCommand(GrailsClient.java:381) at org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:85) at org.grails.ide.eclipse.longrunning.LongRunningProcessGrailsExecutor.synchExec(LongRunningProcessGrailsExecutor.java:82) at org.grails.ide.eclipse.commands.GrailsCommand.synchExec(GrailsCommand.java:169) at org.grails.ide.eclipse.ui.internal.inplace.GrailsLaunchUtils$1.run(GrailsLaunchUtils.java:127) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) 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>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 10 more !SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 23:03:39.920 !MESSAGE -----System.out:---------- Loading Grails 2.2.2 Configuring classpath. Environment set to development..... Packaging Grails application.... Compiling 1 source files..... Packaging Grails application. Compiling 1 source files..... !SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 23:03:39.920 !MESSAGE -----System.err:----------

    SpringSource Issue Tracker | 3 years ago | william woodman
    java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified
  3. 0

    GGTS 3.2 console timout failure on new Grails project

    Stack Overflow | 3 years ago | WILLIAM WOODMAN
    java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    nearly a repeat of sts3269 on 3.2GA tried upgrading to grails 3.2 and created new project tried to run console and got timeout error - the console starts - but when timeout fires it kills the console. looked on google and found case STS-3269 which i have commented against - this was claimed resolved in 3.3M2 i downloaded 3.3M2 did a clean install - build new grails project and ran the console - still get timeout error but the console stay up and working i have tried downloading 3.3M2 - and doing fresh install - slightly better it still times out with an error - but it doesnt take the console away - it stays up - but the error remains not sure what this means and wanted a fix for 3.2 GA but cant find one. Under 3.2 when the timeout occurs - it kills the console app - but on 3.3m2 console stays running on 3.2 i tried clearing the pref>grooy>grails>launch - keep running flag - makes no difference the console dies as soon as the timeout fires included cut and paste from last entry on previous issue ----- however its hard to figure what whats causing the timeout error i have kept external grails running is set on this initial run I dont understand the error i see on the proxy - i am using company laptop and we have a proxy script and its set in internet options - i can use the browser from my laptop at home - but i'm not useing the VPN - just the bt home hub to get internet - next dump is after i access the vpn and included that log also !SESSION 2013-06-18 22:43:38.232 ----------------------------------------------- eclipse.buildId=3.3.0.201306021059-M2-e43 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product org.springsource.ggts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product org.springsource.ggts.ide !ENTRY org.eclipse.core.net 4 0 2013-06-18 22:46:32.200 !MESSAGE WinHttp.DetectAutoProxyConfigUrl for wpad failed with error 'The Proxy Auto-configuration URL was not found. ' #12180. !ENTRY org.eclipse.egit.ui 2 0 2013-06-18 22:46:42.371 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\802518659'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Result of converting legacy STS 2.x workspace preferences to 3.x !SUBENTRY 1 org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Converted legacy STS plugin preferences !SUBENTRY 1 unknown 0 0 2013-06-18 22:46:42.668 !MESSAGE OK !SUBENTRY 1 org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Converted legacy Roo plugin state locations !SUBENTRY 1 org.springsource.ide.eclipse.commons.frameworks.core 0 0 2013-06-18 22:46:42.668 !MESSAGE Converted legacy STS plugin state locations !ENTRY org.eclipse.equinox.p2.operations 2 0 2013-06-18 22:48:21.367 !MESSAGE Operation details !SUBENTRY 1 org.eclipse.equinox.p2.operations 2 10001 2013-06-18 22:48:21.367 !MESSAGE Your original request has been modified. !SUBENTRY 2 org.eclipse.equinox.p2.operations 2 10004 2013-06-18 22:48:21.367 !MESSAGE "SpringSource UAA Integration (optional)" will be ignored because a newer version is already installed. !ENTRY org.eclipse.equinox.p2.operations 2 0 2013-06-18 22:48:21.492 !MESSAGE Operation details !SUBENTRY 1 org.eclipse.equinox.p2.operations 2 10001 2013-06-18 22:48:21.492 !MESSAGE Your original request has been modified. !SUBENTRY 2 org.eclipse.equinox.p2.operations 2 10004 2013-06-18 22:48:21.492 !MESSAGE "SpringSource UAA Integration (optional)" will be ignored because a newer version is already installed. !SESSION 2013-06-18 22:51:01.367 ----------------------------------------------- eclipse.buildId=3.3.0.201306021059-M2-e43 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB Framework arguments: -product org.springsource.ggts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -product org.springsource.ggts.ide !ENTRY org.eclipse.egit.ui 2 0 2013-06-18 22:51:24.860 !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git user global configuration and to define the default location to store repositories: 'C:\Users\802518659'. If this is not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and EGit might behave differently since they see different configuration options. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. !ENTRY org.eclipse.core.net 4 0 2013-06-18 22:51:25.937 !MESSAGE WinHttp.DetectAutoProxyConfigUrl for wpad failed with error 'The Proxy Auto-configuration URL was not found. ' #12180. >>> when i connect with the VPN and rerun i get this error (console still stays up ) !ENTRY org.grails.ide.eclipse.core 4 0 2013-06-18 23:03:39.920 !MESSAGE Problem executing: console !STACK 1 org.eclipse.core.runtime.CoreException: Command terminated with an exception: java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified (see details for partial output) at org.grails.ide.eclipse.core.launch.SynchLaunch$LaunchResult.getCoreException(SynchLaunch.java:168) at org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:113) at org.grails.ide.eclipse.longrunning.LongRunningProcessGrailsExecutor.synchExec(LongRunningProcessGrailsExecutor.java:82) at org.grails.ide.eclipse.commands.GrailsCommand.synchExec(GrailsCommand.java:169) at org.grails.ide.eclipse.ui.internal.inplace.GrailsLaunchUtils$1.run(GrailsLaunchUtils.java:127) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Caused by: java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.exec(GrailsProcessStackTracer.java:104) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getGrailsProcessId(GrailsProcessStackTracer.java:72) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getStackTraces(GrailsProcessStackTracer.java:92) at org.grails.ide.eclipse.longrunning.client.GrailsClient.executeCommand(GrailsClient.java:381) at org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:85) ... 4 more 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>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 10 more Contains: -----System.out:---------- Loading Grails 2.2.2 Configuring classpath. Environment set to development..... Packaging Grails application.... Compiling 1 source files..... Packaging Grails application. Compiling 1 source files..... Contains: -----System.err:---------- !SUBENTRY 1 org.grails.ide.eclipse.core 4 4 2013-06-18 23:03:39.920 !MESSAGE Command terminated with an exception: java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified (see details for partial output) !STACK 0 java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.exec(GrailsProcessStackTracer.java:104) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getGrailsProcessId(GrailsProcessStackTracer.java:72) at org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getStackTraces(GrailsProcessStackTracer.java:92) at org.grails.ide.eclipse.longrunning.client.GrailsClient.executeCommand(GrailsClient.java:381) at org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:85) at org.grails.ide.eclipse.longrunning.LongRunningProcessGrailsExecutor.synchExec(LongRunningProcessGrailsExecutor.java:82) at org.grails.ide.eclipse.commands.GrailsCommand.synchExec(GrailsCommand.java:169) at org.grails.ide.eclipse.ui.internal.inplace.GrailsLaunchUtils$1.run(GrailsLaunchUtils.java:127) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) 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>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 10 more !SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 23:03:39.920 !MESSAGE -----System.out:---------- Loading Grails 2.2.2 Configuring classpath. Environment set to development..... Packaging Grails application.... Compiling 1 source files..... Packaging Grails application. Compiling 1 source files..... !SUBENTRY 2 org.grails.ide.eclipse.core 4 0 2013-06-18 23:03:39.920 !MESSAGE -----System.err:----------

    SpringSource Issue Tracker | 3 years ago | william woodman
    java.io.IOException: Cannot run program "jps": CreateProcess error=2, The system cannot find the file specified
  6. 0

    GUI update.

    Coderanch | 5 years ago | Aces Kok Ben
    java.io.IOException: Cannot run program "mainbin/clamscan.exe --database="C:\Users\Aces\workspace\IT2529Proj\InfoSecurityProject\db" --verbose "C:\Fraps" ": CreateProcess error=2, The system cannot find the file specified

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    CreateProcess error=2, The system cannot find the file specified

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    4 frames
  3. org.grails.ide
    GrailsLaunchUtils$1.run
    1. org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.exec(GrailsProcessStackTracer.java:104)
    2. org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getGrailsProcessId(GrailsProcessStackTracer.java:72)
    3. org.grails.ide.eclipse.longrunning.client.GrailsProcessStackTracer.getStackTraces(GrailsProcessStackTracer.java:92)
    4. org.grails.ide.eclipse.longrunning.client.GrailsClient.executeCommand(GrailsClient.java:381)
    5. org.grails.ide.eclipse.longrunning.client.GrailsCommandExecution.execute(GrailsCommandExecution.java:85)
    6. org.grails.ide.eclipse.longrunning.LongRunningProcessGrailsExecutor.synchExec(LongRunningProcessGrailsExecutor.java:82)
    7. org.grails.ide.eclipse.commands.GrailsCommand.synchExec(GrailsCommand.java:169)
    8. org.grails.ide.eclipse.ui.internal.inplace.GrailsLaunchUtils$1.run(GrailsLaunchUtils.java:127)
    8 frames
  4. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    1 frame