Experimental java-config support for Gentoo

David Bélanger <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hi,

As pointed out by a Gentoo user on this list, SableVM could not be set
as the default VM on Gentoo with the java-config tool.

There is some implementation work that needs to be done for official
support.  But this ebuild provide basic java-config support.  It should be
regarded as a quick hack to get it to work rather than an implementation
suitable for portage integration.

What it does:
1) Tries to provide a JAVA_HOME tree with symlinks.  No guaranty that it
is 100% ok.
2) config file for java-config
3) Provides a jikes wrapper script a la Debian.

So basically:
java-config -S sablevm

will switch your system to use:

java -> sablevm + SableVM-Classpath
javac -> jikes + SableVM-Classpath

other things like jar, javadoc, etc. are not mapped to equivalents.


URL:
http://www.sable.mcgill.ca/~dbelan2/ebuilds/dev-java/sablevm-java-home


David

---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.