So I'm trying to come up with an Android app that can read a text file of Japanese text, and provide insightful information to the reader about the vocab and grammar being utilized.
To do this I need a Japanese morphological analyzer to parse the non-spaced text into individual words.
I found a few very useful libraries from Apache :
Lucene-Analyzers-Kuromoji (Japanese morphological Analyzer)
Lucene-Analyzers-Common (Dependant)
Lucene-Core (Dependant)
Testing these libraries in an empty Java project, I found these libraries to be very useful and reliable for breaking down Japanese text. Sadly, when I tried using them in my app, my project wouldn't compile, and I realized that my libraries were built on Java 7U40.
http://grepcode.com/static/data/html/repo1.maven.org$maven2/org.apache.lucene/lucene-analyzers-common/5.0.0/visualization.svg
Looking through a few posts on Stack Overflow, the consensus seemed to be that the only solution is to find a library written in Java 6 or older.
Searching through the Maven repository, I found versions of the same libraries tracing back all the way to 2012.
Checking the dependencies on each one, I found the latest version written with java 6 was just published in April of 2014.
http://grepcode.com/static/data/html/repo1.maven.org$maven2/org.apache.lucene/lucene-analyzers-common/4.7.2/visualization.svg
Is this a good method for getting around Android's jdk 6 limitation? Using outdated software built on old versions of Java seems like a rather temporary solution, and I don't think this method will hold for very long.
As more libraries are being written in more modern versions of Java, this problem should only get worse.
I haven't personally heard anything about Android switching to java 7 or 8 (I'm new to Android), does anyone know if there's a more reliable way of approaching this problem?