🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1397

commapi with JB6

#1397
From: dlarue
Date: Mon, 18 Feb 2002 00:13
15 lines
1892 bytes
Has anyone run/debugged applications using javax.comm in JB6 personal edition under NT 4.0 (or any win32 box)?

I can get it to build, but CommPortIdentifier.getPortIdentifiers() returns a null Enumeration when I run it.  So it appears there are no ports.  Runs fine outside JB6 
when I copy/paste the long command in the JB run (bottom) window into a dos command window.  Command follows...

C:\opt\JBuilder6\jdk1.3.1\bin\javaw -classpath "D:\SRC\JAVA\gps\classes;C:\opt\JBuilder6\jdk1.3.1\lib\comm.jar;C:\opt\JBuilder6\jdk1.3.1\demo\jfc
\Java2D\Java2Demo.jar;C:\opt\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\opt\JBuilder6\jdk1.3.1\jre\lib\jaws.jar;C:\opt\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\opt
\JBuilder6\jdk1.3.1\jre\lib\sunrsasign.jar;C:\opt\JBuilder6\jdk1.3.1\lib\dt.jar;C:\opt\JBuilder6\jdk1.3.1\lib\htmlconverter.jar;C:\opt\JBuilder6\jdk1.3.1\lib
\tools.jar"  SimpleWrite

comm.jar and javax.comm.properties are in the JB directory ...\JBuilder6\\jdk1.3.1\lib
win32com.dll is in ..\JBuilder6\jdk1.3.1\bin directory.

Thanks for any help.
Dan
Technical Details
Message-ID: <1103_1013991182@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,790652df561126e1,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-02-17 21:09:06 PST
From: dlarue@mediaone.net
Newsgroups: borland.public.jbuilder.java.api
Subject: commapi with JB6
Message-ID: <1103_1013991182@newsgroups.borland.com>
Date: Mon, 18 Feb 2002 00:13:02 GMT
Content-Type: text/plain; charset="windows-1252"
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.0  [en]
NNTP-Posting-Host: 24.147.202.120
X-Trace: dnews 1014008900 24.147.202.120 (17 Feb 2002 21:08:20 -0800)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews