Bug#304823: Fwd: ant & sablevm

April 15th, 2005 - 01:30 pm ET by ms419 | Report spam
Package: sablevm
Version: 1.11.3-1

Reporting, as suggested : )

I originally posted this question on debian-java -
http://thread.gmane.org/gmane.linux....java/4354

Many thanks - you're totally awesome for maintaining free java!

Jack

Begin forwarded message:


On Thu, Apr 14, 2005 at 10:28:07PM -0700, ms419@freezone.co.uk wrote:

I get this error -


[...]
BUILD FAILED
/home/me/gate-3.0-build1846-BIN/build.xml:281: Could not create type
java due to ?/bin is not an
absolute path
[...]


- from this statement -


[...]
<java classname="gate.Main"
classpathref="run.class.path"
fork="true"
spawn="false"
dir="."
logError="true"
maxmemory="${run.memory}"> <!-- line 281 -->
<jvmarg value="-Dgate.home=${basedir}"/>
<jvmarg value="-Djava.ext.dirs=${extDir}"/>
<jvmarg value="-Dsun.java2d.opengl=true"/>
</java>
[...]


- if JAVA_HOME=/usr/lib/sablevm - but not if JAVA_HOME=/usr/lib/kaffe

What does ant require that kaffe provides, but sablevm does not?



Thats a bug in sablevm. Please report with reportbug against sablevm.


Michael
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org







To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 4 repliesReplies Make a reply

Replies

#1 Grzegorz B. Prokopski
April 16th, 2005 - 03:30 am ET | Report spam
Hi,

thanks for reporting the bug. I think I migh have the solution.
Could you please do the following:

cd /tmp (or any other directory where you have some space)
apt-get source sablevm-classlib
cd sablevm-classlib-1.11.3

and do the following change in vm/reference/gnu/classpath:

vm/reference/gnu/classpath/VMSystemProperties.java (revision 3917)
+++ vm/reference/gnu/classpath/VMSystemProperties.java (working copy)
@@ -89,7 +89,7 @@
p.setProperty("java.version", "?");
p.setProperty("java.vendor", "?");
p.setProperty("java.vendor.url", "?");
- p.setProperty("java.home", "?");
+ p.setProperty("java.home", "/usr/lib/sablevm");
p.setProperty("java.vm.specification.version", "Second Edition");
p.setProperty("java.vm.specification.vendor", "Addison Wesley");
p.setProperty("java.vm.specification.name", "ISBN 0-201-43294-3");

(basically you make the java.home be "/usr/lib/sablevm" instead of "?")
then you do:

su (you need to be root now, and in /tmp/sablevm-classlib-1.11.3 dir)
apt-get build-dep sablevm-classlib
dpkg-buildpackage

then you install the two .deb files that were just created in /tmp.

Did it solve your original problem? If yes, then I'll prepare a new
version of sablevm soon.


Thank you for using Free Java and SableVM!

Grzegorz B. Prokopski

Grzegorz B. Prokopski
SableVM - Free, LGPL'ed Java VM http://sablevm.org
Why SableVM ?!? http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS http://www.debian.org



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics