Phrasal un-installable in Stanford CoreNLP 3.7.0 by using Gradle 3.5 (but an obligation)

(Daniel Lamontagne) #1

strong text

Phrasal un-installable in Stanford CoreNLP 3.7.0 by using Gradle 3.5 (but an obligation).

1st problem message:
It is impossible to install (Phrasal) in (Standford CoreNLP 3.7.0) by using (Gradle 3.5) which searches (JDK 1.8.0) for a (tool.jar) file which doesn’t exist.

Message: Build Failed.
Due to: cannot find tool.jar (in JDK 1.8.0)

2nd problem message:
(First - for Windows - I have to create a .bat file by doing the following - in CygWin prompt):

$ gradle startupScripts

but it didn’t work

then tried:

$ gradle startScripts

Full Message:
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
:compileJava - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileJava’.

Could not load class '

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Total time: 7.433 secs

There seems to be an incompaibility issue between Gradle 3.5 and JDK 1.8.0.

Possible solution would be to try an older version of JDK (like 1.6) which has the tool.jar in it but haven’t tried it yet.
an older version of Gradle with JDK 1.8.0

Has anyone had this issue and knows the solution to install Phrasal in Stanford CoreNLP with Gradle?

Thanks in advance.