discovering the underlying operating system
I have the following problem:
I am working with RxTx to communicate with a serial port, but with RxTx I noticed I should have a certain dll file for windows and other corresponding files for other operating systems.
My problem is that I want my java program to be able to decide which one to use on its own? Is that possible? if so, how?
Thanks
[370 byte] By [
Eng_walaaa] at [2007-11-26 18:02:24]

The rxtx Java part takes care of that, i.e. it will load a .so file on *nixesand it will load a .dll file on windows. Proper installation took care of that.kind regards,Jos
help please, I still do not understand.Another question is:I found alot of sites saying that javaComm and RxTx can b used together and others that say it isnot good . what should I do?I should only use one, which one offers maximum portability?Thanks;
> help please, I still do not understand.
>
> Another question is:
>
> I found alot of sites saying that javaComm and RxTx
> can b used together and others that say it isnot good
> . what should I do?
>
> I should only use one, which one offers maximum
> portability?
>
> Thanks;
Javacomm does not support Windows (anymore). So I'd say: go for RXTX.