SVNKit installation on OpenVMS

View: New views
2 Messages — Rating Filter:   Alert me  

SVNKit installation on OpenVMS

by bfraga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm trying to use the SVNKit command line in OpenVMS but I'm having some problems. I don't know very much about java, can anyone help me and tell me what can it be?

VMS version: OpenVMS V7.3-2
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition
Classic VM (build 1.4.2-4.p5, 11/22/2005-23:29, native threads, jit)

I tried to run the original version of JSVNSETUP.OPENVMS and it didn't work, I changed it but it still don't work.

The JSVN command:
JSVN == "$SYS$COMMON:[000000.JAVA$142.bin]java$java  -cp svnkit_home:svnkit.ja
r;svnkit_home:svnkit-cli.jar;svnkit_home:trilead.jar;svnkit_home:jna.jar;svnkit_
home:sqljet_1_0_0_b616.jar;svnkit_home:antlr-runtime-3_1_3.jar "org.tmatesoft.sv
n.cli.svn.SVN""

svnkit_home is defined:
"SVNKIT_HOME" = "$1$DGA19:[SVN]" (LNM$JOB_81252F00)

When I tried to run the jsvn I got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/tmatesoft/svn/cli
/svn/SVN

It can't find the SVN class.

Re: SVNKit installation on OpenVMS

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The problem seems to be in your classpath definition.
Try to change it to something like

-cp "/svnkit_home/svnkit.jar":"/svnkit_home/svnkit-cli.jar":"/svnkit_home/trilead.jar":"/svnkit_home/jna.jar":"/svnkit_
home/sqljet_1_0_0_b616.jar":"/svnkit_home/antlr-runtime-3_1_3.jar"

You may replace '/svnkit_home/' with whatever valid path segments to all the jars you have on your system,
what matters is that all the jars must be able to find them in the path, you specify in the -cp switch.


----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!



bfraga wrote:

> Hello,
>
> I'm trying to use the SVNKit command line in OpenVMS but I'm having some
> problems. I don't know very much about java, can anyone help me and tell me
> what can it be?
>
> VMS version: OpenVMS V7.3-2
> java version "1.4.2"
> Java(TM) 2 Runtime Environment, Standard Edition
> Classic VM (build 1.4.2-4.p5, 11/22/2005-23:29, native threads, jit)
>
> I tried to run the original version of JSVNSETUP.OPENVMS and it didn't work,
> I changed it but it still don't work.
>
> The JSVN command:
> JSVN == "$SYS$COMMON:[000000.JAVA$142.bin]java$java  -cp
> svnkit_home:svnkit.ja
> r;svnkit_home:svnkit-cli.jar;svnkit_home:trilead.jar;svnkit_home:jna.jar;svnkit_
> home:sqljet_1_0_0_b616.jar;svnkit_home:antlr-runtime-3_1_3.jar
> "org.tmatesoft.sv
> n.cli.svn.SVN""
>
> svnkit_home is defined:
> "SVNKIT_HOME" = "$1$DGA19:[SVN]" (LNM$JOB_81252F00)
>
> When I tried to run the jsvn I got the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/tmatesoft/svn/cli
> /svn/SVN
>
> It can't find the SVN class.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...