Chronomotion Compile Guide

From apertus wiki
Revision as of 08:00, 19 October 2012 by Sebastian (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1 Introduction

Guide how to compile from source.

2 Requirements

3 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.