How do I compile and run an application with Minueto?

The simplest way to use Minueto is to include the minueto.jar found in the "lib" directory into your classpath. This will allow you to compile and run Minueto application without any addition command switch. You can find more information on how to change your classpath here.

If you do not wish to add Minueto to your classpath, you can still use Minueto by including the appropriate command line switch every time you run java and/or javac. The simplest solution is to copy the Minueto.jar file from the "lib" directory to your project directory. You then can compile your application using the following command.

 javac -classpath .:minueto.jar YourFile.java 

The following command will compile YourFile.java using a classpath of "." and "minueto.jar". It is very important that "." be in your classpath or classes in your current directory will be ignore. Also, you must make sure that the classpath points to the correct minueto.jar. If you choose not to copy minueto.jar to your project directory, be sure to include the full path to the minueto.jar.

 javac -classpath .:~/minueto/lib/minueto.jar YourFile.java 

If you're using Windows, you'll need to change the command slightly. Notice the semi-colon instead of the colon.

 javac -classpath .;minueto.jar Demo.java 

To run a Minueto application, minueto.jar must also be your classpath. You can do this by adding the proper "-classpath" switch when you run the "java" command.

 java -classpath .:minueto.jar Demo 

Again, if you're using Windows, you'll need to change the command slightly.

 java -classpath .;minueto.jar Demo 

Remember, when running or compiling any Minueto application, you need to make sure minueto.jar is define in the classpath.