Help me compile for Native Methods?

1999-02-15 Thread Peter Gutowski
I've used Cay Horstmann's and Gary Cornell "Core Java" books and have been pretty happy with them. The second volume claims to help you create native methods that can be called from java code. Their examples use Solaris and WindozNT only though.. The instructions for using javah -jni to create a

Re: Help me compile for Native Methods?

1999-02-15 Thread Raju Karia
Peter Gutowski wrote: > > I've used Cay Horstmann's and Gary Cornell "Core Java" books and have been > pretty happy with them. The second volume claims to help you create native > methods that can be called from java code. Their examples use Solaris and > WindozNT only though.. > > The instructi

Re: Help me compile for Native Methods?

1999-02-15 Thread Moses DeJong
You need to compile that as a shared library not a static lib. Use -shared not -static on the command line. Mo DeJong dejong at cs.umn.edu On Mon, 15 Feb 1999, Peter Gutowski wrote: > I've used Cay Horstmann's and Gary Cornell "Core Java" books and have been > pretty happy with them. The second

Re: Device communication.

1999-02-15 Thread Chris Abbey
Basically you want a non-blocking read... join the club. Here's _a_ solution: use two threads. The first thread reads the data, the second thread sleeps for a while and wakes up the first thread if it hasn't read yet. (yeah, "ugh" was my first reaction to this method too) Here's _a_better_ s

Re: About Communication Ports API...

1999-02-15 Thread Chris Huebsch
Hello, there are Linux-Ports but unfortunately they only support Serial Ports. (Please correct me if I am wrong.) Have a look at: http://www.blackdown.org/java-linux/otherproducts.html and look for: Java Comm for Linux or RXTX greetings Chris Julian Bolivar wrote: > > Dear Srs. > > Can I

About Communication Ports API...

1999-02-15 Thread Julian Bolivar
Dear Srs. Can I use the Sun's Communication API in the Linux JDK 1.1.7v1a, because I need access the PC's Serial and Parallel Ports. Regards. Julian Bolivar

Re: Regular Expressions

1999-02-15 Thread C. Harald Koch
I know of two: * gnu.regexp - Regular Expressions For Java by Wes Biggs <[EMAIL PROTECTED]> http://www.cacas.org/~wes/java/ contains OROMatcher, a regexp pacakage that claims to be 100% compatible with Perl5 Regular expressions. -- C. Harald Koch <[EMAIL PRO

Re: Regular Expressions

1999-02-15 Thread Carl H. Sayres
> Hi, listmembers, > > I'm looking for classes that can be used to test the contents of Strings > against regular expressions, comparable to Perl's regular expressions > capability or the standard C library's regcomp() and regexec() functions. > > Does anybody know whether (and where) such c

Re: C/C++

1999-02-15 Thread Nathan Buggia
Look into tools such as openGL at www.opengl.org nate On Mon, 15 Feb 1999, Ozer Irfan wrote: > Hello > How program graphics with C/C++ ? > I search a development tools like Visual C++ or C++ Builder for Linux ? > Can you help me ? > > Thanks. > > > >

Device communication.

1999-02-15 Thread Ejaz Mohd
Hello, I've small problem. I've a device connected on a serial port. To communciate with that device I've opened random access file. This strategy works but when device is unable to send me the required bytes or when device is switched off my java program goes in an blocked mode. And unless I pr

Re: java programming

1999-02-15 Thread Juergen Kreileder
> Dimitris Vyzovitis writes: Dimitris> Chris Huebsch wrote: >> >> >> this is not correct. With Java2 you can use deferred-initialization of >> final-variables. >> >> That means that you can declare a: "final ;" and do later a >> " = ;" >> Dimitri

Re: java programming

1999-02-15 Thread Dimitris Vyzovitis
Chris Huebsch wrote:   this is not correct. With Java2 you can use deferred-initialization of final-variables. That means that you can declare a: "final ;" and do later a " = ;" But there must be one and only one initialization!   That's a feature that was missing, but we still compile under jd

Re: C/C++

1999-02-15 Thread Scheer István
You have to try Xelfi. This is a free software. You can use it on all platform, where you can find JDK. Eredeti üzenet Feladó: Ozer Irfan <[EMAIL PROTECTED]> Címzett: C.V. Rajagopal <[EMAIL PROTECTED]> Másolatot kap: alexander lang <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]

Re: java programming

1999-02-15 Thread Chris Huebsch
Hello, > in Java all variables with final qaulifier must be initialised during > decalration. so you can't compile this code this is not correct. With Java2 you can use deferred-initialization of final-variables. That means that you can declare a: "final ;" and do later a " = ;" But there mus

Regular Expressions

1999-02-15 Thread Frank B. Brokken
Hi, listmembers, I'm looking for classes that can be used to test the contents of Strings against regular expressions, comparable to Perl's regular expressions capability or the standard C library's regcomp() and regexec() functions. Does anybody know whether (and where) such classes are ava

Re: java programming

1999-02-15 Thread C.V. Rajagopal
On Sun, 14 Feb 1999, alexander lang wrote: > Hi all. > > Does anyone know if one is allowed to initialize static final variables > within the "try" clause of a static initializer block? > > (eg. > static final int x; > static{ > try > { > x