executing runtime.getruntime in java is not creating json file -


i using:

    try{         process p = runtime.getruntime().exec("/home/desktop/crt_json);         p.waitfor();      } catch (exception ex) {     ex.printstacktrace();     system.out.println("i caught: " + ex);     } 

to run c++ file named crt_json creates json file. when run through terminal working when run through java code json file not being created. know fact program crt_json being executed beacuse couple of other things , it's doing every single 1 of them except creating json file. know if there problem creating json files when executing c++ file runtime or something?

the c file being created in "current folder" , current folder in crazy directory changed code force in path of choosing.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -