Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333346

Summary: Serial Terminal with RXTX library from update site doesn't work on Win 7 64bit.
Product: [Tools] Target Management Reporter: Bernd <berndvogt>
Component: TerminalAssignee: dsdp.tm.core-inbox <tm.core-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3 CC: eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
stack trace with UnsatisfiedLinkError none

Description Bernd CLA 2010-12-30 12:15:01 EST
Build Identifier:  I20100608-0911

On Windows 7 64bit the Serial Terminal doesn't work when installing RXTX library from update site http://rxtx.qbang.org/eclipse/ (see attached log).

Patching the JDK with rxtx-2.2pre2 manually helps out.

Environment:
- Windows 7 (64bit)
- Sun JDK 1.6.0_21 (64 bit) (without RXTX library)
- Eclipse SDK 3.6.0.I20100608-0911 (64 bit)
- RXTX End-User Runtime	2.1.7.4_v20071016-7B57e7UAXMAAqGAGf
- RXTX Extender SDK 2.1.7.4_v20071016-417C7DP1Bh_eEaQJBrHBHg
- Target Management Terminal 3.1.1.v201008191400-7N1FJMC5PrEz0-0VwkcvchKPHG

Reproducible: Always
Comment 1 Bernd CLA 2010-12-30 12:16:42 EST
Created attachment 185912 [details]
stack trace with UnsatisfiedLinkError
Comment 2 Martin Oberhuber CLA 2011-01-02 17:10:28 EST
The RXTX update site doesn't provide 64bit native libs.

It should run fine on Win7 64bit when running 32bit Eclipse on a 32bit JVM.

From what I can remember, RXTX-2.1 doesn't support compiling on Windows 64 bit, and RXTX-2.2 has not been officially released yet.

If you want to create an Eclipse update site with the new RXTX version, your help would be appreciated.
Comment 3 Martin Oberhuber CLA 2012-02-27 12:54:02 EST
See also bug 372655 - TM has a "works-with" dependency on RXTX, please work with the RXTX community getting a newer version compiled for OSGi and/or integrated with the JVM on your system.

See http://rxtx.qbang.org/wiki/index.php/Installation
and http://www.cloudhopper.com/opensource/rxtx/
and http://rxtx.qbang.org/wiki/index.php/Mailing-list
and http://mailman.qbang.org/pipermail/rxtx/2011-February/9005917.html

for two different builds of RXTX that should work on Windows 64-bit as well as how to install them into the JRE. The RXTX OSGi bundle must then be removed such that RXTX is picked up from the JRE.

All we can do at Eclipse is update the README text in the tm.terminal.serial plugin that explains how to get RXTX, but I'd argue we only do so once an RXTX update site with a newer version of the OSGi plugin is available. AFAIK such work is currently in progress at RXTX but might take a little while until completed.