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 - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -