🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15420

Re: java serial api problem

#15420
From: Alexander Lang
Date: Thu, 17 Jun 1999 00:00
42 lines
1635 bytes
it is different, if you use JDK 1.2:

in the comm-api is a file named jdk1.2.html and there you can read:

Installing the Java Communications API on JDK 1.2 (RC1)
<jdk> refers to the root directory of your JDK installation.
If you installed JDK in c:\jdk1.2 then replace all reference to
<jdk> with c:\jdk1.2. 

   1.
          Windows: place the win32com.dll in <jdk>\jre\bin directory. 

          Solaris: put the libSolarisSerialParallel.so in the
LD_LIBRARY_PATH. 

   2.Place the comm.jar in <jdk>\jre\lib\ext. 

   3.Place the javax.comm.properties in <jdk>\jre\lib . 

   4.Do not alter the CLASSPATH. 

OK.

Kjetil Fjellheim schrieb:
> 
>                Java serial api
> 
> I have installed suns Serial Comm Api.
> 
> When running this code
>     Enumeration i = CommPortIdentifier.getPortIdentifiers();
> no port's appear.
> 
> The FAQ say's that you must put the file
>         javax.comm.properties
> in the Lib directory of the SDK, I've tried this,
> but nothing different happens.
> 
> Thank you in advance.
> 
> 
>
Technical Details
Message-ID: <37692FAA.35DA5@mueritz-comp.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37418B45.52156BD0@hinux.hin.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,89c30721ccff6c5
X-Google-Attributes: gidf74b3,public
From: Alexander Lang <lang@mueritz-comp.de>
Subject: Re: java serial api problem
Date: 1999/06/17
Message-ID: <37692FAA.35DA5@mueritz-comp.de>
X-Deja-AN: 490740174
Content-Transfer-Encoding: 7bit
References: <37418B45.52156BD0@hinux.hin.no>
X-Accept-Language: de,en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language