guy_sensei
guy_sensei

Reputation: 523

Using Java Jar Utility

I found a jar utility that looks useful for some stuff I'm trying out. I downloaded the jar and put it in my eclipse lib and set the buildpath to include the jar.

And now I'm trying to use the demo that was included on the git hub, but I'm running into issues with using the utility's objects and the import cannot be resolved.


First time trying something like this, just hoping I'm overlooking something, this is the Git url. https://github.com/tbsalling/aismessages

Upvotes: 0

Views: 100

Answers (2)

Krzysztof Cichocki
Krzysztof Cichocki

Reputation: 6414

You need to upgrade aismessages library from version 1.8 to 2.1, change to this version of library: http://repo1.maven.org/maven2/dk/tbsalling/aismessages/2.1.0/aismessages-2.1.0-jar-with-dependencies.jar

you have aismessages 1.8 which is old, and have no AISInputStreamReader, you need aismessgas 2.1, and after library upgrade, everything should work.

Upvotes: 2

Mecon
Mecon

Reputation: 997

You need to right-click the Project and select "properties".

And then go to "Build Path"

In Build Path, select "Add Jar" to select the Jar you need.

Upvotes: 1

Related Questions