I am new to Java so please be gentle. I confess not having read
through some basic stuff yet, although I am doing my best sifting
through the racks and piles of documents I have.
In the invocation below:
@java -classpath ../lib/hsqldb.jar org.hsqldb.Server %1 %2 %3 %4 %5 %6
%7 %8 %9
are the %x mnemonics for some entry points in the Server class?
I understand the above invocation as:
1. Call the java.exe file to execute Server.class which resides in org/
hsqldb/
2. For this call, set the classpath, i.e. look for .class and .jar
files in parentOfCurrentDir/lib/hsqldb.jar
What I do not understand is the % symbols. Are they ordinals for entry
points like invoking dll entry points in C?
Uwe Plonus - 19 Feb 2007 17:14 GMT
> I am new to Java so please be gentle. I confess not having read
> through some basic stuff yet, although I am doing my best sifting
[quoted text clipped - 16 lines]
> What I do not understand is the % symbols. Are they ordinals for entry
> points like invoking dll entry points in C?
The Parameters %1 to %9 are from the shell script (or batch file) to
pass parameters from the command line where the shell script is called
to the java programm. They do not have anything to do with java.
Uwe