eclipse - How do I bind 2 java files so they both open when I run the jar file -


i think can done in eclipse? how.

basically want turn 2 java jars 1 jar file , when run both run.

there may other ways, 1 way running second jar file through first file. can run second file as:

string cmd = "java -jar "+getclass().getresource("secondfile.jar").getpath().substring(1); runtime.getruntime().exec(cmd); 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -