java.io.IOException: CreateProcess: start "C:\Program Files\Adobe\Acrobat 5.0\Re ader\AcroRd32.exe" c:\test\intro.pdf error=2

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via Oracle Community by 807555, 1 year ago
CreateProcess: start "C:\Program Files\Adobe\Acrobat 5.0\Re ader\AcroRd32.exe" c:\test\intro.pdf error=2
via Netbeans Bugzilla by laqa, 1 year ago
CreateProcess: C:\j2sdk1.4.0 \bin\java -classpath "C:\Program Files\NetBeans IDE 3.4 \tomcat404\bin\bootstrap.jar;C:\j2sdk1.4.0 \lib\tools.jar" "-Dcatalina.home=C:\Program Files\NetBeans IDE 3.4\tomcat404" "-Dcatalina.base=C:\Documents and Settings\laqa\.netbeans\3.4\tomcat404_base" org.apache.catalina.startup.Bootstrap start error=193
via Oracle Community by 807554, 1 year ago
CreateProcess: start /B cmd /c myprogram.bat error=2
via xmlbeans-user by Yana Kadiyska, 1 year ago
CreateProcess: D:\www\testbed\javac@C:\DOCUME~1\jay\LOCALS~1\Temp\javac15795 error=2
via xmlbeans-user by n p, 1 year ago
CreateProcess: D:\www\testbed\javac@C:\DOCUME~1\jay\LOCALS~1\Temp\javac15795 error=2
via xmlbeans-user by n p, 1 year ago
CreateProcess: D:\www\testbed\javac@C:\DOCUME~1\jay\LOCALS~1\Temp\javac15795 error=2
java.io.IOException: CreateProcess: start "C:\Program Files\Adobe\Acrobat 5.0\Re ader\AcroRd32.exe" c:\test\intro.pdf error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at undefined.Trial.main(Trial.java:6)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.