I have download jasmin.jar from http://sourceforge.net/project/showfiles.php?group_id=100746
I have changed my CLASSPATH to the following:
echo %CLASSPATH%
C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\Sun\SDK\lib;C:\Sun\SDK\jdk\lib\jasmin\jasmin.jar;
The following command works without a problem:
java -jar C:\Sun\SDK\jdk\lib\jasmin\jasmin.jar -g Greeter.j
But the following does not works:
java Jasmin -g Greeter.j
I am wondering as to what am I doing wrong and how to fix it, so I can easily run the Jasmin from the command line and convert jasmin code to .class.
I did not find any useful information at: http://jasmin.sourceforge.net/guide.html Which says the following:
The jasmin.jar file is an executable JAR file that runs Jasmin. For example:
java -jar jasmin.jar myfile.j
or
java Jasmin myfile.j
(if jasmin.jar is already in your classpath)