posted 23 years ago
You've got it. It's the same as in Windows:
java MyClassName
or
java -jar MyClassJar.jar
Case sensitive, naturally.
I think there are some shells out there that will check the appfile and when they see the "CAFEBABE" signature will automatically feed the class to the Java program, but the above certainly works.
[This message has been edited by Tim Holloway (edited July 31, 2001).]
Often the most important part of the news is what they didn't tell.