JVPC home Screenshots Download FAQ Project Page To Do Bugs People Kero's VGAP-page

Download and Install

OK, you're warned when you use this. JVPC is still beta. Though PLANETS.EXE runs fine on the data produced by JVPC, VPUTIL doesn't!

Download

If you simply wish to run JVPC, here is a jarfile (v0.93) with precompiled classfiles (27 Jul 2003, 305kB). With this file you can run JVPC or run VPCheck immediately (but do not forget to add the jarfile to your CLASSPATH env-var). It also supports the stand-alone blitz client.
If you really want the most recent version of JVPC, get the java files from cvs:
$ mkdir JVPC; cd JVPC
$ cvs -d:pserver:anonymous@cvs.jvpc.sourceforge.net:/cvsroot/jvpc login 
$ cvs -z8 -d:pserver:anonymous@cvs.jvpc.sourceforge.net:/cvsroot/jvpc co .

This is also available in the JVPC-0.93.zip zipfile (27 Jul 2003, 287kB).
Note: You will have to compile these java files into bytecode files before you can run JVPC. See below.

Install

So you just downloaded from cvs or took the zipfile. The content should be at least:
$ ls -F
Makefile
configure*
doc/
index.html
jvpc/
jvpc.cfg
kero/
vga/
vpcheck/
blitz/

Java Development Kit

You will need a jdk to compile Java files. Get for example the jdk from Sun, Kaffe from transvirtual. Install either or any other jdk, then continue with this installation.

Configuring for JVPC

Run configure to set the class directory (where all classfiles need to go to) and java compiler, like this:
$ ./configure --classdir=CLASSDIR --javac=JAVAC
where the defaults are $HOME/Program/Java/lib and jikes, respectively.

Now, export the classpath, such that it contains CLASSDIR as well:

$ setenv CLASSPATH CLASSDIR:/path/to/jdk/classes.zip
or
$ export CLASSPATH=CLASSDIR:/path/to/kaffe/Klasses.jar
or something like that. Put it in your startup files (like .bashrc). For jikes, there is of course JIKESPATH to use.

(Typically, `configure` could strip the local CLASSDIR from CLASSPATH (or JIKESPATH), if it is in there; could be tricky, but all sysop installations are in /opt or /usr, so distinction can be made (unless kaffe is installed locally by/for a user or so). Is there a default local-to-the-user CLASSDIR?)

Building

Now, compile the Java files, by simply typing:
$ make
(or `gmake`) It will compile and auto-install the classfiles.

Note that we use

$ jikes -source 1.1 -nowarn -d /home/kero/Program/Java/lib *.java
by default, since we invented assert before it was made a *** keyword by Sun.

No errors? Good. You can now run JVPC or run VPCheck.
Errors? Try to find out what went wrong, then mail me.


Kero
27 Jul 2003