[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Announce] Subclipse 0.9.25 released

From: Jeff Bowden <jlb_at_houseofdistraction.com>
Date: 2004-12-19 05:31:00 CET

Christophe Labouisse wrote:

>Another solution is to recompile the packages from the source as my
>patch is included starting from version 1.1.1-2 (you have to change a
>variable in debian/rules to enable javahl compilation).
>
>

What's the trick to making this work with kaffe?? I tried it but when
it gets to the end of the build it complains bitterly:

    Internal error: caught an unexpected exception.
    Please check your CLASSPATH and your installation.
    java/lang/UnsatisfiedLinkError: Failed to locate native function:
    gnu/classpath/VMSystemProperties.getJavaHome()Ljava/lang/String;
        at
    gnu.classpath.VMSystemProperties.preInit(VMSystemProperties.java:124)
        at gnu.classpath.SystemProperties.<clinit>(SystemProperties.java:68)
        at java.lang.System.getProperty(System.java:104)
        at java.lang.System.<clinit>(System.java:43)
        at java.lang.ClassLoader.<init>(ClassLoader.java:115)
        at java.lang.ClassLoader.<init>(ClassLoader.java:111)
        at java.security.SecureClassLoader.<init>(SecureClassLoader.java:60)
        at java.net.URLClassLoader.<init>(URLClassLoader.java:548)
        at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:237)
        at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:35)
    make[1]: *** [javahl-java] Aborted

I had to resort to the following change to rules:

     ifeq ($(ENABLE_JAVAHL), yes)
       # jikes 1.22 cannot compile javahl.
    - confflags += --enable-javahl --without-jikes
    --with-jdk=/usr/lib/kaffe
    + #confflags += --enable-javahl --without-jikes
    --with-jdk=/usr/lib/kaffe
    +
    + # can't seem to make kaffe work
    + confflags += --enable-javahl --without-jikes
    --with-jdk=/usr/lib/j2sdk1.4-sun
     endif
Received on Sun Dec 19 15:31:00 2004

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.