Reputation: 899
I am a beginner in Java. I made my Java program using NetBeans. Now I have my .jar file. But I would like to know how to write commands to compile .Java classes to .Class and then build a jar using those .Class files.
Does any one have an idea how to create a Make file/ Script for running on Mac to run my source code by compiling it itself.
Upvotes: 0
Views: 650
Reputation: 533500
I would use maven
This will download dependencies, build you class files and build a jar for you.
Upvotes: 0