the torch java_only-1.4.0.jar is not compatible with java 7
ares89 opened this issue · comments
ares89 commented
the torch java_only-1.4.0.jar is not compatible with java 7,
how to package a jar for java 7?
thank you.
David Reiss commented
Java 7 reached end-of-life in 2015 and is not supported. You can try building it yourself, but you will be on your own in terms of support. In the pytorch repository cd into android/pytorch_android/host
and run gradle assemble
.
Suyash Joshi commented
It would be helpful to mention the minimum Java version supported in the README doc.
ares89 commented
not only the pytorch_java_only but also the dependency fbjni were built with java 8 but not use the feature of java 8.