[Solved] Cannot run Java Runtime.exec() on Opensuse


So far so good! I found the answer recently by myself, still don’t have a reason why it works this way, but I suppose it’s all about internal difference of handling new processes in VM’s on different platforms.
I had to edit the code this way, and now it works:

String[] runcmd = {"java","-jar","/home/user/jar.jar"};
Runtime.getRuntime().exec(runcmd);

Now it seems to work perfect. As I see it fails to process the file and execute then command with parameters given as same string while no error thrown on Java code level, it’s possibly lost in VM internals.

solved Cannot run Java Runtime.exec() on Opensuse