OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2012-06-14 20:28:51

jsom gives me an error saying that some library is missing.

Hello everyone. i downloaded and installed josm version 5267 and installed the OpenData plugin.
When I try to open a shapefile i get this:


Could not read file 'quebec_highway.shp'.
Error is:
java.io.IOException: java.lang.NoClassDefFoundError: java/nio/channels/SeekableByteChannel.

As far as I can see, this class(seekablebytechannel) is defined in java 7 but josm wants to run using java 6.
im using ubuntu 12.04

Please any help would be greatly appreciated.
Thanks
jenia

Offline

#2 2012-06-15 14:14:32

SammysHP
Senior Member
From: Celle, Germany
Registered: 2012-02-27
Posts: 184
Website

Re: jsom gives me an error saying that some library is missing.

JOSM should work with java 7, too.

Offline

#3 2012-06-17 18:07:30

don-vip
New Member
From: Toulouse, France
Registered: 2012-06-17
Posts: 1

Re: jsom gives me an error saying that some library is missing.

Hi,
I need more info to fix this bug.
Could you give me a link to download your file ? Or attach it to http://josm.openstreetmap.de/ticket/7787 ?
Does JOSM give you any stacktrace when this error happens ?
Thanks,
Vincent

Offline

Board footer

Powered by FluxBB 1.4.8
Hosting sponsored by Oxilion