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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -