source: tags/0.12.0/j/examples/abcl/README

Last change on this file was 11398, checked in by Mark Evenson, 15 years ago

Move to more natural place "above" Ville's examples.

File size: 603 bytes
Line 
1Building and running instructions
2=================================
3
4by Blake McBride
5
6In general, to compile a Java class file (like Main.java for example)
7use:
8
9  javac  -cp  ../../../abcl.jar  Main.java
10
11where the "../../../" represents the path to your abcl.jar file.
12
13This compiles the Java source file "Main.java" into a JVM runtime or
14class file named "Main.class".
15
16To run the example (Main.class for example) from a Unix-like OS use:
17
18  java  -cp  ../../../abcl.jar:.  Main
19
20or in Windows use:
21
22  java  -cp  ../../../abcl.jar;.  Main
23
24where "Main" is the initial class to run in your Java program.
Note: See TracBrowser for help on using the repository browser.