コードからクラスファイルに対してJADデコンパイラを実行しようとしています:
Process p = Runtime.getRuntime().exec("c:\\1\\jad.exe c:\\1\\EIn.class");
//All paths are correct, "c:\\1\\jad.exe c:\\1\\EIn.class" wotks when I run it in cmd
デバッグしてもエラーが発生しない場合、デバッガーは次の行に移動します...
私が置く場合:
int res = p.waitFor();
ハングするだけです。
アップデート:
BufferedReader in = new BufferedReader(new InputStreamReader(p.getErrorStream()));
String str = null;
while ((str = in.readLine()) != null) { //Stucks here
}