Re: SableVM on Familiar - Installation Issues

Stephen Compall <[email protected]> Tue, 26 Jul 2005 21:16:29 -0500
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
On Tue, 2005-07-26 at 13:20 +0200, Rene Wagner wrote:
> > SableVM knows where to find classpath.
> 
> No, it doesn't. Or rather, it expects to find stuff in /usr which
> is the prefix it was built for.

Ah, I missed that little detail, and assumed Vinod built it for that
prefix, and was only having trouble with jikes, which doesn't benefit
from sablevm's build-time knowledge of classpath.

> I believe you can specify an alternative bootclasspath on the command
> line though. I don't have an installed copy of sablevm at hand right
> now, so maybe someone else can provide details on that.

I flipped through what java-sablevm does.  You can say:

SVM_CP_DIR=/media/card/usr/share/sablevm-classpath
BOOTCLASSPATH=$SVM_CP_DIR:$SVM_CP_DIR/libclasspath.jar:$SVM_CP_DIR/resources.jar
LD_LIBRARY_PATH=/media/card/usr/lib/sablevm-classpath:/media/card/usr/lib
export BOOTCLASSPATH LD_LIBRARY_PATH
java-sablevm -Dsablevm.boot.class.path=$BOOTCLASSPATH hello

That's a whole lot to type so I'd guess you'd refactor that somehow.
That should also let you run jikes directly.

-- 
Stephen Compall

_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBC5u58YWjD35Pp0wIRAheOAJ9JxzgAwKoIgeBDAskr81P8LHNPlACeNnsD
6fkzYK5UMWZc6chikHT8Jps=
=IsM/
-----END PGP SIGNATURE-----