Alexander Busch wrote:
Hi,
having j2re1.3.1 running I am trying to run an app that requires the javax.comm package.
I have taken a look at rxtx, and also downloaded the sparc version of the package, in order to somehow be able to do as described in the install instructions. However, I have to admit, that these instructions are not really clear.
Can anybody help me and tell me what files I need exactely, where to find them, and how to set the classpath correspondingly? Is there any good installation instruction?
I've attached the document we use at work for instructions.
Hope this helps.

--
 ==================================================
  Glenn Holmer (Linux registered user #16682)
 --------------------------------------------------
  "You may think this is the finest pearl
   But it's only cardboard balls, seamed in glue
   Overwhelming technique; done through diligence"
 --------------------------------------------------
              -Captain Beefheart, "Best Batch Yet"
 ==================================================
Title: Installing Java Comm Drivers

Installing Java Comm Drivers for Linux

  1. Extract the Solaris version of the comm drivers (javacomm20-x86.tar.Z) to /java.
  2. Copy comm.jar to /usr/lib/java/jre/lib/ext/.
  3. Copy javax.comm.properties to /usr/lib/java/jre/lib. Change the driver line to read Driver=gnu.io.RXTXCommDriver.
  4. Extract the low-level "RXTX" drivers (rxtx-2.0-4.tgz) to /java. Make sure you have the version that uses javax.comm (not gnu.io). This refers to the packages that the Javacomm classes appear in, not the low-level driver referred to in the previous step.
  5. Change directory to /java/rxtx-2.0-4 and build the low-level drivers as root (make sure your system has the standard build tools installed): make sure JAVA_HOME is set, then run ./configure, make, and make install.

Installing Java Comm Drivers for Windows

  1. Extract the Windows version of the comm drivers (javacomm20-win32.zip) to C:\java.
  2. Copy comm.jar to <java-install-dir>/jre/lib/ext/.
  3. Copy javax.comm.properties to <java-install-dir>/jre/lib.
  4. Copy the low-level driver (win32com.dll) to <java-install-dir>/bin.

Because of the locations these files are installed to, there is no need to add the drivers to your classpath.

Reply via email to