Re: latest gnu classpath

Etienne Gagnon <[email protected]> Fri, 06 Jan 2006 15:31:20 -0500
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hi Michael,

If the GNU Classpath VM interface has not changed since the 1.13
release, it should be easy.

You should download the gnucp-overrides.jar file from:

 http://sablevm.org/download/snapshot/2006-01-01/

then put it in $PREFIX/share/sablevm/gnucp-overrides.jar, where $PREFIX
is the path that you gave as prefix to configure when compiling sablevm,
or /usr/local if you used the default path.

Example:

$ cd sablevm-sources
$ ./configure --prefix=$HOME/sablevm-bin
...
$ # Download gnucp-overrides.jar to $HOME/sablevm-bin/share/sablevm/


Then, you compile and install GNU Classpath normally, and run sablevm
using the -Xgnuclasspath command-line option.

Example:

$ cvs co ... classpath
$ cd classpath
$ ...
$ ./configure --prefix=/foo/bar ...
$ ...
$ $HOME/sablevm-bin/bin/java-sablevm -Xgnuclasspath:/foo/bar HelloWorld


Have fun!

Etienne

[email protected] wrote:
> I tried running sablevm 1.13 against the latest gnu classpath classes from cvs (today).
> However, all I'm getting is:
> 
> sablevm: cannot create vm
> 
> Is this hard to fix ?

-- 
Etienne M. Gagnon, Ph.D.            http://www.info2.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvtOYjyrJi4rH84gRAijaAJ42PTaLF0zpvq9GRl5DU22kBUKl3wCeKB7f
asevw2f4hCPW+V1n6cRhhDA=
=Si6l
-----END PGP SIGNATURE-----