Difference between revisions of "Apertus.Chronomotion Compile Guide"

From ElphelWiki
Jump to: navigation, search
(Created page with "= Introduction = Guide how to compile from source. = Requirements = * SVN to aquire the code tree * Netbeans (Download from: http://netbeans.org/downloads/index.html "Java SE" i...")
 
(No difference)

Latest revision as of 05:48, 15 May 2012

Introduction

Guide how to compile from source.

Requirements

Troubleshooting

If you get an error message like:

java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path

that means the external libary could not be loaded.

Add the path to the *.dll to the "VM Options" in the "Run" Tab of your project settings.

Example:

-Djava.library.path="C:\Users\yourusername\Desktop\rxtx-2.1-7-bins-r2\Windows\i368-mingw32;%PATH%"

If you get an error message like:

Can't load IA 32-bit .dll on a AMD 64-bit platform thrown while loading gnu.io.RXTXCommDriver

It means you are trying to run the Software with 64bit java JRE. Since the RXTX library is only available for 32bit you have to install Java 32bit JRE and use it to run the program.