New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java Issue on Grobid #418
Comments
Hello @jonsaadfalcon ! |
I did that but I still get the same Java version error. |
I did that but I still get the same Java version error. |
Ok I think JDK 11 is really very recent (released last September), never tested it. Java 11 is only supported by gradle 5 since last November, so maybe you could try this: ... though that might not be supported by the gradle wrapper... Otherwise, it is better to use a jdk version "officially" supported by grobid (jdk 1.8 or 10). |
I've got same issue trying to install grobid on ubuntu 18 that comes with java 10 by default. |
For java 10, normally this works |
So compiling grobid on ubuntu 18 with the default java version :
I'm getting an error from jacoco :
So the grobid-core tests are passing after updating jacoco to toolVersion='0.8.2' Then this error appears regarding jetty apparently:
the workaround for this would be to add a dependency (corresponding to the missing package):
Then another error related to powermock is showing and after updating to latest beta version everything goes fine (without changing gradle version) |
In principle you should not have these issues with OpenJDK 10.0.2 |
or are you testing with |
in fact your description (#342) is another way to workaround missing package issue, but jacoco issue is still persisting, and this happening at the begining of the task grobid-core:test" I tried with both gradle version without success, it works after updating jacoco to 0.8.2. then there is another issue happening related to the mocking library that needs to be updated too, I've updated the trouble shooting in the doc. |
@kermitt2 yes everything is good now, thanks |
Do we still have issues with java version 11 ? |
No not anymore |
thanks a lot @jonsaadfalcon ! let's close the issue. |
Hello, I'm trying to run grobid on MacOS but I encountered an issue when trying to build on gradle. I received the following exception:
FAILURE: Build failed with an exception.
Could not determine java version from '11.0.2'.
I updated the gradle version but still received the same error. Any advice is greatly appreciated.
The text was updated successfully, but these errors were encountered: