Andrew,

Thank you all so much for your help.

I searched for commons-logging*.jar and found several copies. I tried the 
following in the directory with the .java file

CLASSPATH=/usr/lpp/zWebSphere/V7R0/optionalLibraries/Apache/Struts/1.1/commons-logging.jar
javac RemoteServer.java

which resulted in the same error message

RemoteServer.java:19: package org.apache.commons.logging does not exist
import org.apache.commons.logging.Log;

I then downloaded the jar from the web site to my windows machine, then I 
uploaded it to the mainframe in binary to the same directory as my .java file

CLASSPATH=/u/vendor/jig/jrobotremoteserver-master/commons-logging-1.2.jar
javac RemoteServer.java

and got the same error message.

I'm doing something wrong I know it.
Any help?

Janet


>Apache Commons is a project creating various reusable Java components. 
>It's not part of the Apache web server. It doesn't surprise me if most 
>of Apache Commons is not distributed with z/OS (I'm more surprised if 
>much is).

>I wouldn't expect to find logging in the org.apache.commons.codec jar. 
>Codec is various encoders and decoders. The logging jar should be called 
>commons-logging*.jar.

>You may have to download it from Apache Commons. Apache commons is at:
>https://commons.apache.org/
>Apache Commons logging is at
>https://commons.apache.org/proper/commons-logging/

>Being Java, you should be able to just download the jar, do a binary 
>transfer to z/OS and it should work.

>Andrew Rowley

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to