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