Alles klar, danke eine schöne Erklärung
Hab immer Internet folgendes gefunden, http://www.cloudhopper.com/opensource/rxtx/, falls man doch mal das ganze unter Windows 64 Bit starten will, aber das nur am Rande.
Kennst du dich mit der RXTXcomm Lib aus? Das senden von Java an Arduino habe ich schon zum laufen bekommen. Jetzt versuch ich allerdings das der Arduino sagen wir mal eine "0" sendet und das Java Programm darauf reagiert. Allerdings scheitere ich momentan daran.
Um ersma einen groben Überblick zu finden arbeite ich nach diesem Code: Serielle Schnittstelle unter Java – Mikrocontroller.net
Mein Fehler den mir Eclipse rauswirft ist:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007f77f1e9024d, pid=22530, tid=140153136383744
JRE version: 7.0_09-b30
Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [librxtxSerial.so+0x724d] read_byte_array+0x3d
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as:
/home/lukas/Eigene Datein/Java/Serial/hs_err_pid22530.log
If you would like to submit a bug report, please include
instructions on how to reproduce the bug and visit:
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.