java.README.gentoo 934 Bytes
Newer Older
Aaditya Bagga's avatar
Aaditya Bagga committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
4-Nov-2000

Note: this file has been modified to adapt to Gentoo specific.

class files are installed in

`java-config -p cyrus-sasl-2`

to compile programs using it, do:

javac -classpath $JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2` <file>.java

(make sure to substitute your JDK for $JAVA_HOME/lib/tools.jar)

to run, do

java -classpath <same path as above> <YourProgram>

----------------------------
This is a java version of the SASL libraries. It supports all the
mechanisms in the C version and conforms to the internet draft in the
doc/ directory. JNI is used.

Sample applications exist in the Test/ directory.

They generally can be run with something like:

java -debug -classpath
../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. jimtest -p 2143 -m
KERBEROS_V4 cyrus-dev

and

java -debug -classpath
../:$JAVA_HOME/lib/tools.jar:`java-config -p cyrus-sasl-2`:. testserver


Any feedback is welcome.