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

php - mysql multiple keyword search in any order -

unity3d - Problems porting a GLSL shadertoy shader to unity -

ios - Summing the heights of the views inside my stackview -