Moving a Client to a Non-Windows Platform By Transferring the .jar File
This step is not necessary if your client targets are Windows machines. However, if you are working on a non-Windows machine, you must transfer the .jar file from its installation location to a location on the non-Windows machine.
1. Run ftp.exe, located in the Windows directory of your hard drive.
2. Enter your username and password in the ftp window.
ftp> open ftp1.yourcompany.com or machine
name or machine ip address or alias
Connected to ftp1.yourcompany.com.
220 your machine name Microsoft FTP Service (Version x.0).
User (ftp1.yourcompany.com:(none)): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password: enter password
230-Welcome to Your Company
230-in Computing. Please e-mail any problems to
230-ftpmaster@yourcompany.com.
230 Anonymous user logged in.
3. Specify binary to insure that files will be transferred as binary. Binary mode is necessary to insure that the files are transferred correctly.
4. Navigate to the destination directory. A user optional subdirectory should be selected on the target machine. This is where the CONNX JDBC client files reside.
In the example below, the user selects /users/njit as the transfer destination.
ftp>
cd /users
250 CWD command successful.
ftp> cd njit
250 CWD command successful.
5. Send connxjdbcftp.jar to the destination directory. The CONNX JDBC client files are stored in an archive called connxjdbcftp.jar located in C:\CONNX32\CONNXJDBC\java\ftp. The user must specify the fully qualified name of connxjdbcftp.jar.
ftp > put C:\CONNX32\CONNXJDBC\
java\ftp\CONNXJDBCftp.jar
6. Log on to the target system and go to destination directory. Users must log on to the target system with an appropriate username and password, and should change the current directory to be the location of the connxjdbcftp.jar file.
7. Unzip the connxjdbcftp.jar file. The user must run the jar program in order to extract the files from connxjdbcftp.jar.
jar xvf connxjdbcftp.jar
The files are extracted and a directory structure is built. The subdirectory is \JAVA.