I have a java program which has all it's *.java files in the src directory. it uses libraries (e.g. activemq-core-5.1.0.1.jar and commons-logging.jar) stored in a folder called libs which is in the directory level as the src folder.
how do i compile this program in linux and convert it to a jar file?
once compiled how do i do run it? will simply running the jar file i just created be sufficient?
Question
rustix
I have a java program which has all it's *.java files in the src directory. it uses libraries (e.g. activemq-core-5.1.0.1.jar and commons-logging.jar) stored in a folder called libs which is in the directory level as the src folder.
how do i compile this program in linux and convert it to a jar file?
once compiled how do i do run it? will simply running the jar file i just created be sufficient?
Link to comment
Share on other sites
15 answers to this question
Recommended Posts