ftp.nice.ch/pub/next/developer/languages/java/guavac.0.2.4.README

This is the README for guavac.0.2.5.s.tar.gz [Download] [Browse] [Up]

       Binary Distribution of the GNU Java Compiler 0.2.4
 
This is a binary distribution of guavac, the GNU Java compiler which
is written by Effective Edge. Although it is an early version, it's
nevertheless highly portable code. This distribution runs on NeXT
hardware (NEXTSTEP 3.3) and had been compiled with gcc-2.7.2 and
libg++-2.7.2 with debugging information, so it's fairly large.
 
Installation 

1. Unpack this distribution under /usr/gnu. Make sure that you have
about 15 MB free space.

	cd /usr/gnu
	gnutar xzpf guavac-0.2.4.bin-m.tar.gz

2. Adjust your CLASSPATH, if necessary.  guavac assumes that its
classes are packed in the zip file
/usr/gnu/share/guavac/classes.zip. You can override the environment
variable by using the command line option -classpath. See the man page
for further details.

3. Compile a Java program and take note of the speed of guavac, in
comparison to the javac by Sun. The javac used here is based on the
current port of Sun's JDK (1.01) to NEXTSTEP. The relation in speed
also holds on the original platform Solaris.

· Write a program such as the familiar Hello World example:
	
	public class HelloWorld {
	  	public static void main(String[] args) {
		    System.out.println("Hello World!");
		}
	}
		
· Compile and time it:
	
	wegmann@abulafia<21>: time javac HelloWorld.java
	5.545u 2.062s 0:09.62 79.0% 0+0k 56+4io 0pf+0w		
	wegmann@abulafia<22>: time guavac HelloWorld.java 
	Compilation Successful: 1 classes or interfaces found:
	 *  HelloWorld
	0.625u 0.312s 0:01.63 57.0% 0+0k 8+3io 0pf+0w

All credits go to Effective Edge. I cannot guarantee that it works
under your configuration, so you're on your own.

Have a cup of Java!

Frank Wegmann
<wegmann@linguistics.ruhr-uni-bochum.de>

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.