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.