Closed SimonCahill closed 2 months ago
Well, whatever version of Tika you're trying to use has class files generated for a JVM that exceed those supported by our class file parser. We only support up to Java 8 presently, and thus any class files targeting higher versions than Java 8 will end up with this warning.
As to the warning: this is a warning because it isn't atypical to come across jar files that are composed of .class files with different versions. ikvmc
tries to skip those that it cannot handle.
The main issue here isn't Tika, it's the fact that IKVM outputs this as a series of warnings and not errors.
I gathered as much that IKVM doesn't support the Java version (hence the output message).
And the fact that IKVM fails without logging an error, instead outputting a warning. I do, however feel that this issue should be addressed and IKVM should output the error as an error, and not as a warning.
In my project, I use Apache Tika (specifically a modified branch of tikaondotnet), and after recently having upgraded to version 2.9.2 (after Apache killed the link), I've received the following compiler error:
What springs out is of course:
And the fact that IKVM fails without logging an error, instead outputting a warning.
Of course my issue is (most likely) fixable, by finding an archive link to a previous version of Tika, so there's not much to do there. I do, however feel that this issue should be addressed and IKVM should output the error as an error, and not as a warning.
For clarity: This issue occurs with both IKVM versions 8.7.5 and 8.7.6.
Thanks.