java.io.IOException: CreateProcess: "jar -xvf D:\PAUL\jars\dt.jar" error=2


Samebug tips

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


6 months ago
Expert tip

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


5 months ago
Expert tip

Solutions on the web

Solution icon of oraclecommunity
via Oracle Community by 807554, 1 year ago
CreateProcess: "jar -xvf D:\PAUL\jars\dt.jar" error=2

Solution icon of apache
via xmlbeans-user by n p, 1 year ago
CreateProcess: D:\www\testbed\jar cf D:\www\testbed\automobile-policy.jar -C C:\DOCUME~1\jay\LOCALS~1\Temp\xbean30916.d\classes . error=2

Solution icon of apache
via xmlbeans-user by Yana Kadiyska, 1 year ago
CreateProcess: D:\www\testbed\jar cf D:\www\testbed\automobile-policy.jar -C C:\DOCUME~1\jay\LOCALS~1\Temp\xbean30916.d\classes . error=2

Solution icon of apache
via xmlbeans-user by n p, 1 year ago
CreateProcess: D:\www\testbed\jar cf D:\www\testbed\automobile-policy.jar -C C:\DOCUME~1\jay\LOCALS~1\Temp\xbean30916.d\classes . error=2

Solution icon of oraclecommunity
via Oracle Community by 666728, 1 year ago
CreateProcess: Move D:\Logs\*.csv D:\Archive error=2

Solution icon of googlegroups
via Google Groups by Michael König, 1 week ago
CreateProcess: start D:\temp\Nachdruck55657.pdf error=2

Solution icon of bugzilla
via Apache Bugzilla by neerajtikku, 1 year ago
CreateProcess: perl2exe.exe D:\installers\perls\i2DMutils.pl error=2

Solution icon of oraclecommunity
;d:\weblogic\lib\weblogic510sp6.jar;d:\weblogic\license;d:\weblogic\clas ses;d:\weblogic\myserver\serverclasses;d:\weblogic\lib\weblogicaux.jar;d:\chn\WEB-INF\classes;D:\chn\WEB-INF\_tmp_war -d D:\chn\WEB-INF\_tmp_war D:\chn\WEB-INF\_tmp_war\jsp_servlet\_cpm\_jsp\_test.java error=2

Solution icon of web
via hivmr.com by Unknown author, 1 year ago
;d:\weblogic\lib\weblogic510sp6.jar;d:\weblogic\license;d:\weblogic\clas ses;d:\weblogic\myserver\serverclasses;d:\weblogic\lib\weblogicaux.jar;d:\chn\WEB-INF\classes;D:\chn\WEB-INF\_tmp_war -d D:\chn\WEB-INF\_tmp_war D:\chn\WEB-INF\_tmp_war\jsp_servlet\_cpm\_jsp\_test.java error=2

Solution icon of oraclecommunity
via Oracle Community by 258095, 7 months ago
CreateProcess: java -classpath D:\oracle\jdev10g\jdev\mywork\81\Project1\classes;D:\oracle\jdev10g\jdev\lib\ant.jar;D:\oracle\jdev10g\jdev\lib\optional.jar;D:\oracle\jdev10g\lib\xmlparserv2.jar;D:\oracle\jdev10g\lib\xmlcomp.jar;D:\oracle\jdev10g

Stack trace

java.io.IOException: CreateProcess: "jar -xvf D:\PAUL\jars\dt.jar" error=2
	at java.lang.Win32Process.create(Native Method)
	at java.lang.Win32Process.<init>(Win32Process.java:66)
	at java.lang.Runtime.execInternal(Native Method)
	at java.lang.Runtime.exec(Runtime.java:551)
	at Win.executeCmd(Win.java:75)
	at Win.actionPerformed(Win.java:139)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
	at java.awt.Component.processMouseEvent(Component.java:3715)
	at java.awt.Component.processEvent(Component.java:3544)
	at java.awt.Container.processEvent(Container.java:1164)
	at java.awt.Component.dispatchEventImpl(Component.java:2593)
	at java.awt.Container.dispatchEventImpl(Container.java:1213)
	at java.awt.Component.dispatchEvent(Component.java:2497)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
	at java.awt.Container.dispatchEventImpl(Container.java:1200)
	at java.awt.Window.dispatchEventImpl(Window.java:914)
	at java.awt.Component.dispatchEvent(Component.java:2497)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
	at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

15 times, 3 days ago
6 times, 2 weeks ago
Once, 4 weeks ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
Once, 1 month ago
85 more bugmates