Hi,
When tying to run 'jsvn.bat' from svnkit 1.7.0-alpha2 I always get the
following exception:
[[[
C:\research\svnkit-1.7.0-alpha2\bin>jsvn.bat --version -q
Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: Files. Program will exit.
C:\research\svnkit-1.7.0-alpha2\bin>echo %JAVA_HOME%
C:\Program Files (x86)\Java\jdk1.6.0_25
]]]
I get the same error with 1.3.6, 1.3.7 and 1.7.0-alpha1.
However, with 1.3.5 it works:
[[[
C:\research\svnkit-1.3.5.7406>jsvn --version -q
1.3.5
]]]
What could be the problem? Perhaps it has something to do with the
change of directory structure in the release? With 1.3.5 both the jsvn
scripts and the jars where in the same directory (the base directory
of the package). As of 1.3.6 the scripts are in 'bin', and the jars in
'lib'.
--
Johan