Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to read MapInfo files using Java.
Before I used geotools for this but now I have problems with the GDAL library in Win7x64. Can i find geotools or gdal only for Java? To it not usede gdal's dlls only Java classes. I found the MITAB library but its only for C++.
Does anyone know something that can help me?


Another question: i read geotools quickstart and dont se any words about Gdal. But when i try use geotools i get error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/gdal/ogr/ogr

When i add gdal.jre in build path all works fine.
Whats wrong?

share|improve this question
It might be best to ask your question in another thread to conform with the SE format. –  R.K. Dec 21 '12 at 10:26

1 Answer 1

up vote 0 down vote accepted

I think you could use the experimental OGR plugin to do this in GeoTools.

Try adding


to your pom.xml - I've not tried but I expect it will pull down all the stuff you need.

share|improve this answer
Its posible to use only Eclipse without maven? –  Kliver Max Dec 21 '12 at 10:06
It's really not recommended, maven makes life easy for you! –  iant Dec 21 '12 at 10:38
can you say i get gdal for Win 64bit from there… . Its correct? –  Kliver Max Dec 24 '12 at 9:26
only if you have a 64bit Java install. –  iant Dec 24 '12 at 9:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.