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

Re: Trouble building JavaHL - ...ConflictDescriptor_Action.h not found

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 02 Dec 2009 15:25:48 +0000

Mark Phippard <markphip_at_gmail.com> writes:

> I am guessing that you are not using the Sun JDK? You pretty much
> need to have that. The open-source JDK's just do not cut it.

I can build javahl on Debian using the openjdk-6-jdk package.

I can't get the tests to run:

$ nice make check-javahl
/usr/lib/jvm/java-6-openjdk/bin/java "-Dtest.rootdir=/home/pm/sw/subversion/obj/subversion/bindings/javahl/test-work" "-Dtest.rooturl=" "-Dtest.fstype=" -Djava.library.path=subversion/bindings/javahl/native/.libs:/usr/local/subversion/lib -classpath subversion/bindings/javahl/classes: "-Dtest.tests=" org.tigris.subversion.javahl.RunTests
Exception in thread "main" java.lang.NoClassDefFoundError: org/tigris/subversion/javahl/RunTests
Caused by: java.lang.ClassNotFoundException: org.tigris.subversion.javahl.RunTests
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: org.tigris.subversion.javahl.RunTests. Program will exit.
make: *** [check-javahl] Error 1

I get much the same error using sun-java6-jdk:

$ nice make check-javahl
/usr/lib/jvm/java-6-sun/bin/java "-Dtest.rootdir=/home/pm/sw/subversion/obj/subversion/bindings/javahl/test-work" "-Dtest.rooturl=" "-Dtest.fstype=" -Djava.library.path=subversion/bindings/javahl/native/.libs:/usr/local/subversion/lib -classpath subversion/bindings/javahl/classes: "-Dtest.tests=" org.tigris.subversion.javahl.RunTests
Exception in thread "main" java.lang.NoClassDefFoundError: org/tigris/subversion/javahl/RunTests
Caused by: java.lang.ClassNotFoundException: org.tigris.subversion.javahl.RunTests
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.tigris.subversion.javahl.RunTests. Program will exit.
make: *** [check-javahl] Error 1

>> -I/usr/include/neon   -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include
>> -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include
>> -I/usr/lib/jvm/java-1.5.0-gcj-4.4/include/linux

Is that java-5. Is java-6 required?

-- 
Philip
Received on 2009-12-02 16:26:28 CET

This is an archived mail posted to the Subversion Dev mailing list.

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