用java 在windows 執行指令(如:dir這些指令)的時候,發生
以下這錯誤該怎麼辦?
java.io.ioexception cannot run program createprocess error 193
剛剛google 了一下
只要把程式碼內的
p = runtime.exec("你的指令");
改成
p = Runtime.getRuntime().exec("cmd.exe /C 你的指令");
以上解法來自這篇
2010年7月21日 星期三
訂閱:
張貼留言 (Atom)
Class has no initializers in swift
Class has no initializers in swift I have met this situation. Found a solution here It says if you have the code like bellow var se...
-
= =||| 我覺得 我投影片做的越來越好了 真糟糕.....= =a
-
以下我講的都是在說 還未經過任何中文化的puppy linux喔~ 那麼...要如何解決這個剛從國外網站下載的puppy 看中文網頁(繁體)都會出現亂碼的問題呢? 我搜了一下他們的論壇 整理如下: 如果你現在使用的系統是linux的話 (我以ubuntu為例) 1. 先把 /u...
-
If you integrate MobileVLCKit to your app, and found you have this hints.. Undefined symbols for architecture arm64: "_VTDecompress...
2 則留言:
你有甚麼特別需求要用到這玩意啊?
榮譽會長大人~!!
就要用java去執行python的東西啊 = =
張貼留言