mmayo888 / ImageFilter

WEKA filter that uses LIRE to extract image features
24 stars 19 forks source link

Using in jdk6 #3

Closed MJ-DEV91 closed 6 years ago

MJ-DEV91 commented 6 years ago

Hi. I want to use this filter in a production environment and unfortunately the jdk version on this server is 6. and then when I want to compile my code, I'll face with an error:

Error:(35, 33) java:  cannot access weka.filters.SimpleBatchFilter
bad class file: weka\filters\SimpleBatchFilter.class(weka\filters:SimpleBatchFilter.class)
class file has wrong version 52.0, should be 50.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
mmayo888 commented 6 years ago

Hi, the image filters were developed using Java 7/8, so there are no guarantees it will work on Java 6. You could try recompiling the filter from the source code and hope it works. However, several libraries are used by the filter and I am not sure if these would be compatible or not. You would have to do some testing.

Mike