java - Two jar files into one exe -


i've made tic tac toe in java , i've got 2 jar files.

i want put them both 1 exe.

is possible, or have convert main file , 1 way?

i've never done before.

need suggestions implementation.

to make exe file need define 1 jar point of execution. jar must contain main() method. if have 2 jars , contain main method, can call first's jar's main method in second's main method , declare second jar point of execution.

like this:

class first {     public static void main(string[] arg) {         //excution code     } }  class second {     public static void main(string[] arg) {         first.main(arg);     } } 

i hope help.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -