java - Running Windows-compiled C++ program on Linux machine using Runtime -


i need run executable on command line through java. have seen lot of information , using runtime object execute file. have problem: executable written in c++ , compiled windows, i'm using linux. have no access source code.

i read in documentation of runtime environment

runtime allows application interface environment in application running

the environment running on linux, application not work if application interfacing linux environment.

i curious if there other objects other runtime this, mimic runtime of different os. example maybe windowsruntime object or call , have application run without having recompile linux. seems pretty complicated (perhaps virtual machine) thought worth try.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -