Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RXTX in Windows 7 64 bits  RSS feed

 
Vinicius Soares
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I've developed a software that exchanges messages with a hardware using JavaComm.
As JavaComm doesnt have x64 support, so I had to change to RXTX.

This activity was fine and easy.

Now I have my software working in Windows XP 32 bits and Windows 7 64 bits...

But, In Windows 7 64 bits, RXTX doesnt work very well.
In XP system, the exchange is very quickly and stable.
In Windows 7 it isnt stable, I receive a message, after while I receive another, It is not so fast like in Windows XP.

Some points:
- The version of software is the same for both
- The machine that works in Windows 7 is better than Windows XP

Could you help me about it?
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The DLLs you installed from RXTX: are they 32-bit DLLs or are they 64-bit DLLs?
 
Vinicius Soares
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DLLs are 64bits for Windows 7 64 bits.

I think that it doesnt work when I use 32 bits DLLs in Windows 7 64 bits
 
Bill Doss
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I just saw this thread after I posted a question about RXTX and Windows 7. My problem is that RXTX causes my application to crash when I try to close a connection to a serial port. Otherwise it works fine. Have you had this happen? Were you able to fix it?

Thanks,
Bill
 
Rob Spoor
Sheriff
Posts: 20904
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vinicius Soares wrote:DLLs are 64bits for Windows 7 64 bits.

I think that it doesnt work when I use 32 bits DLLs in Windows 7 64 bits

It actually depends. It's not the operating system (Windows) that determines whether or not you can use the DLLs, but the application that's using them.

If you use a 64-bit JVM, you need to use a 64-bit DLL. If you use a 32-bit JVM, you need to use a 32-bit DLL, even if you're running the JVM on a 64-bit Windows. The same holds for several other resources; ODBC data sources are one I've encountered already. 64-bit applications cannot use 32-bit ODBC data sources and vice versa.
 
Wadhwa Sandeep
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bill Doss wrote:Hi,

I just saw this thread after I posted a question about RXTX and Windows 7. My problem is that RXTX causes my application to crash when I try to close a connection to a serial port. Otherwise it works fine. Have you had this happen? Were you able to fix it?

Thanks,
Bill


Hi Bill,

We are also facing this problem. Could you please help me in finding out the solution for this?

Thanks
Sandeep
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!