On Wed, Dec 2, 2009 at 7:25 AM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> 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'd expect OpenJDK to work since it came from the Sun JDK. It is
mainly gcj that you need to stay away from.
> 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
You need JUnit available. Did you use --with-junit when you
configured? Also, the JavaHL tests require you to run make install
install-javahl before they will run. However, your error is more
indicative of not having configured with JUnit.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2009-12-02 17:16:10 CET