I have created the Tic Take Toe in Java and I have two JAR files.
I want to put them both in an exe.
Is it possible, or do I have to convert only main
file and another way?
I have not done this before.
Suggestions for implementation are required.
To create an exe file you need to define a jar as a point of execution is. There should be a main ()
method in that jar, if you have two jars and the main method in all, then you can call the main method of the first jar in the main method of the second and the other Jar can be declared as the point of execution.
Like this:
class first {public static zero} (string [] AGR) {// expansion code}} class II {public static zero main (string [] Arg) {first.man (RGR); }}
I hope this will help.
No comments:
Post a Comment