Category Archives: Uncategorized

Java Serial 0.10

Java Serial 0.10 has been released!  The changes since 0.9 are:

As always, binaries are on Maven Central and hosted locally.

Code Hosting

Hosting of code is moving to Github, because I feel that it is a somewhat better alternative for hosting.

SVN will still stay up, but will mostly be used for scratch work at this point it seems.

So far, the only project that has been moved over is JavaSerial, so check that out.

Any code releases will be on both Github and here.

JavaSerial 0.5

I am happy to announce the release of JavaSerial version 0.5.  This is a release which changes a lot of things internally.  The tutorial has a list of all things that you need to know.  The changelog is as follows:

  • No need to download DLL/SO files, they are extracted from the JAR automatically.  You can set the location with the Java properties com.rm5248.javaserial.lib.path and
  • Native code is provided for Windows x86/amd64, and Linux x86/amd64/ARM.  Any help on verifying this code on other platforms is greatly appreciated.
  • When opening up a serial port, you may say what control line events you are interested in.  If you are not interested in any control line events, you can say as such and a new thread will not be created to tell you of serial changes.
  • Fixed a bug where a valid serial port could be closed if a serial port that attempted to be created later threw an exception
  • Project now uses Maven to build.  This is not yet uploaded to Maven central, but the plan is to upload releases there shortly.

This release was originally going to have NIO support, however it turned out to be rather complicated.  If you are interested in messing around with it, there is a partially-made version branches/JavaSerialNIO.

As always, please leave a comment or file a bug report if you notice something incorrect.

Train Database 1.1

Train Database v 1.1 has just been released!  This is a minor bug fix version.  The notes are as follows:

  • Fixed bad bounds check when adding more than 3 entries
  • Changed road number to be 32-bit integer instead of 16-bit integer.  Some cars have road numbers greater than 64535.

Download the releases here.

Train Database

I would like to announce a new project here: the train database.  A simple way of organizing your model trains, the train database tells you stats on your trains(how many you have, how much they cost) and stores them in a platform-independent SQLite database.

Head on over to the project page for more information.

JavaSerial 0.4

JavaSerial 0.4 has been released.  This is just a minor bugfix release.


  • Will no longer crash the JVM when closing a serial port on Linux
  • Fixed checking for the serial line state too often on Linux
  • Will now compile cleanly on FreeBSD and MacOS X

If there is anybody who would be willing to compile/create an xcode project for use on MacOS, that would be very helpful.  I created a quick project to ensure that it at least compiles, but no more than that.

Discussion List

I have set up a discussion list for those people who are interested in ongoing development/submitting code to the various utilites hosted here.  You may find the list here.

Welcome to RM’s Programming Utilities!

Welcome to the home of RM5248’s Programming Utilities!  I started this project in order to do a few things programming-wise.  These are either utilities that I have made over the years, or are currently working on.

Feel free to view projects at the top.