From owner-freebsd-java Thu Dec 9 19: 2:25 1999 Delivered-To: freebsd-java@freebsd.org Received: from sl.relcom.kz (sl.relcom.kz [193.124.114.65]) by hub.freebsd.org (Postfix) with ESMTP id 33E5115737 for ; Thu, 9 Dec 1999 19:02:11 -0800 (PST) (envelope-from kris@sl.relcom.kz) Received: from crawler.relcom.kz (crawler.relcom.kz [193.124.114.102]) by sl.relcom.kz (8.7.5.R.ML.S/Relcom-2A) with ESMTP id IAA11892 ;Fri, 10 Dec 1999 08:59:29 +0600 (ALMT) Message-ID: <38506C64.1ABD1A8C@relcom.kz> Date: Fri, 10 Dec 1999 08:58:46 +0600 From: Eugene Panov Reply-To: kris@relcom.kz Organization: RelcomSL X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Joe Shevland Cc: freebsd-java@FreeBSD.ORG Subject: Re: CommAPI References: <384F7A98.A6830A87@relcom.kz> <003c01bf4326$0fd68b00$6464a8c0@kpi.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well , yestersay I have discovered the problem . It was a foolly problem , it's shamefull for me to think about :-) I ran my Java App not with rights of the Super User :-) , and because I coudn't get possible values of ports !!! I'm a C programmer at the past , and thaught that if I'm trying opening a port , port is found , but open() error .... :-) In JavaComm is a little bit another structure , JavaComm determines whether or not port is possible to be opened by a certain user , and than says to app , that there's a port on a machine ... I'm sorry for distrubing FreeBSD- java with my fool question :-) > Just off the top of the head, did you install a shared library in the > /bin directory that came with the JavaComm distribution? > > This library file is the shared library that you'll need to get the ports > enumerated correctly. It must be the JNI side of things. Failing that, got a > stack trace or its just not reporting that it finds the ports? > > HTH, > Joe _________________________ Panov Eugene , RelcomSL Co .| Email: kris@relcom.kz | ICQ: 39671185 | Tel/Fax: +7 322 2624990 | Home Tel.: +7 322 2454011 | ____________________________| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message