Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

the torch java_only-1.4.0.jar is not compatible with java 7 #7

Closed
ares89 opened this issue Mar 28, 2020 · 3 comments
Closed

the torch java_only-1.4.0.jar is not compatible with java 7 #7

ares89 opened this issue Mar 28, 2020 · 3 comments

Comments

@ares89
Copy link

ares89 commented Mar 28, 2020

the torch java_only-1.4.0.jar is not compatible with java 7,
how to package a jar for java 7?
thank you.

@dreiss
Copy link
Contributor

dreiss commented Mar 28, 2020

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.

@dreiss dreiss closed this as completed Mar 28, 2020
@suyashcjoshi
Copy link

It would be helpful to mention the minimum Java version supported in the README doc.

@ares89
Copy link
Author

ares89 commented Apr 13, 2020

not only the pytorch_java_only but also the dependency fbjni were built with java 8 but not use the feature of java 8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants