Re: [beagleboard] BBB Rev C: Debian: PureJavaComm/JNA test fails

2014-08-01 Thread Datenheld
William, I, too, do think as well that Java lacks support for some features, in the JVM, too. I also don't think Java is the best language these days (speaking of languages and not of the runtime). It is well behind the .NET platform when it comes to pure languages, apart from Scala, but

Re: [beagleboard] BBB Rev C: Debian: PureJavaComm/JNA test fails

2014-07-31 Thread Datenheld
The error message is probably misleading, I had it several times until I realized that the native binary was not properly compiled for the am335x. The file was indeed there at the location but it just would not load. The problem can probably be solved by compiling the native binary for am335x.

Re: [beagleboard] BBB Rev C: Debian: PureJavaComm/JNA test fails

2014-07-31 Thread Datenheld
Uhm, to correct myself: It's probably not even necessary to implement the Java part of JTermios, the wrapper. Just make sure you build the native binary for arm with softfp. I suspect that the one you use has been built for i386. You can use the linaro toolchain to crosscompile it on windows

Re: [beagleboard] BBB Rev C: Debian: PureJavaComm/JNA test fails

2014-07-31 Thread Datenheld
:00 UTC+2 schrieb William Hermans: So what is the point of using Java if binaries like this do not work cross platform ? On Thu, Jul 31, 2014 at 7:12 AM, Datenheld date...@gmail.com javascript: wrote: Uhm, to correct myself: It's probably not even necessary to implement the Java part

Re: [beagleboard] BBB Rev C: Debian: PureJavaComm/JNA test fails

2014-07-31 Thread Datenheld
You're being too harsh on the topic. Most people didn't really use java because of platform independence. In the beginnings of Java, applets were the killer feature. You could easily deliver fat client software with the webbrowser. It wasn't that much about platform independence. Java is a lot

Re: [beagleboard] BBB Rev C: Debian: PureJavaComm/JNA test fails

2014-07-30 Thread Datenheld
You might want to try libbulldog (http://www.libbulldog.org). Here's an example: http://libbulldog.org/bulldog/examples/serial-example/ It can do advanced Serial communication as well, but has not been tested on Debian. By advanced I mean settings things like setting parity, databits and stop

Re: [beagleboard] BBB Rev C: Debian: PureJavaComm/JNA test fails

2014-07-30 Thread Datenheld
P.S. You might also want to consider using the LinuxSerialPort class of libbulldog directly! Then you shouldn't have troubles due to Debian. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard

[beagleboard] libbulldog: Java API for the Beaglebone Black

2014-07-28 Thread Datenheld
/bulldog/examples/gpio/ http://libbulldog.org/bulldog/examples/pwm/ Things I intend to do: * Networking support * Support more boards (raspberry pi is in the makes already) Have fun controlling the board with Java! Best regards, Datenheld -- For more options, visit http://beagleboard.org