On Dec 2, 2009, at 9:25 AM, Philip Martin 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 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?
Do you have junit installed, and are you configuring subversion --with-junit?
-Hyrum
Received on 2009-12-02 17:04:17 CET