Java Marine API - NMEA 0183 library for Java
Clone or download

Java Marine API Build Status Sponsored by Spice Maven Central Javadocs

Java Marine API is an NMEA 0183 parser library for Java. See project webpage for more info and documentation.

Basic support for decoding AIS messages is also under development and included in latest snapshots for preview. As this is quite a large new feature, all feedback and contribution is much appreciated.

License: LGPL


The API has been designed generic and easy to use instead for particular purpose. The NMEA stream translates into event/listener model. For example,

SentenceReader reader = new SentenceReader(new FileInputStream(file)); // any stream will do
reader.addSentenceListener(this); // "this" extends or implements sentence listener

reads through a file and passes all or filtered sentences to listeners:

public void sentenceRead(GGASentence gga) {

See examples for more.


Pre-built jars may be downloaded from releases and Project was originally published in Sourceforge, hence the net.sf.marineapi package naming.

Download Java Marine API


Development snapshots and releases are deployed to Maven Central Repository every now and then. However, there is no plan or schedule for this. Also, notice that although the snapshots should be mostly stable, they are still work-in-progress.

See changelog for current SNAPSHOT version. You may also need to tweak your Maven settings to enable snapshot dependencies.