Answer the question
In order to leave comments, you need to log in
How to compile a console application into one file?
There is a console game, but in order to play accordingly, you need to run the whole project, so the question is, is it possible to compile the entire project into one file and run it as a regular cmd console?
Answer the question
In order to leave comments, you need to log in
Google - fat jar
If the application is written in Maven, then use the maven assembly plugin -
tutorials.jenkov.com/maven/maven-build-fat-jar.html
If the application uses gradle, then
https://www.baeldung.com/ gradle-fat-jar
If I understood your question correctly then the above links will help you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question