All contents on this page
are copyright (c) 1998, 1999 by Tilo Christ. All rights reserved. |
These instructions have been tested on an Intel Linux box, running RedHat 5.0, and the JDK 1.1.6v1,
JDK 1.1.6v4a, JDK 1.1.6v5, and JDK 1.1.7v1a from http://www.blackdown.org.
A third party has confirmed that this is also working on Solaris 2.6 (Sparc and x86). A similar installation procedure should work on most other Unices too. You are welcome to contribute more specific instructions for other Unix platforms! Installation of the pure Java code onlyUnpack the download archive into a place of your liking. Include the files Java/SyncBuilder.jar and Java/jndi.jar into your CLASSPATH environment variable. Then check for successful installation.Installation of both Java and native codePersonally, I use IBMīs blindingly fast jikes compiler for Linux . It works great for compiling SyncBuilder . The configuration procedure during the source code installation will try to detect jikes in your PATH and will use it for building the package if it is available.The Jikes compiler may be downloaded for free at http://www.alphaworks.ibm.com/formula. Of course, you will also be fine if you use the javac compiler. Please tell me, if these instructions donīt work for you.
After unpacking the archive do the usual ./configure make make installThe install step will most likely require root status. If configure fails to locate your JDK then try ./configure --with-java=<JDK base-directory>. Include the files Java/SyncBuilder.jar and Java/jndi.jar into your CLASSPATH environment variable. Then check for successful installation. Checking for successful installationMake sure the current directory (.) is included in your CLASSPATH environment variable! Then change to the Java/samplecode directory. Execute java dlptest. This will run the Palm device through a short series of tests.Checking Serial HotSyncThis will only work if you did the installation of the native code. When asked for the port on which your Palm device is connected, choose the UNIX device-name of the serial port to which the cradle is connected (e.g. /dev/ttyS0, or /dev/pilot).While the instructions and explanations are being displayed, be sure not to wait too long to press <RETURN>, otherwise the connection will time out! Checking Network HotSyncThis will work for both the pure Java installation as well as the native installation. You will have to install the Network HotSync software on your Palm device though, and run the pppd (both is described here).When asked for the port to which your Palm device is connected choose . (dot). You will then be asked to instantiate the Network HotSync. You do this by tapping on the "Modem HotSync" symbol on your Palm device . The pppd should already be running before you start the Java application. Troubleshootingjava.lang.UnsatisfiedLinkError: no JavaPisock in shared library path If you have successfully installed the source version though then you should try to manually add libsock/_libs and Java/_libs to your LD_LIBRARY_PATH. You might also have to run ldconfig as root, to make the new library known to the system. java.lang.UnknownError at Pdapilot.ServerSocket.bind(ServerSocket.java:xx) at Pdapilot.ServerSocket.
|