mirror of
https://github.com/irmen/prog8.git
synced 2024-11-04 04:05:00 +00:00
gradle build error explained
This commit is contained in:
parent
a521982576
commit
373cbb4144
@ -285,6 +285,15 @@ This happens when your program uses floating point values, and you forgot to imp
|
||||
If you use floating points, the compiler needs routines from that library.
|
||||
Fix it by adding an ``%import floats``.
|
||||
|
||||
Gradle error when building the compiler yourself
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
If you get a gradle build error containing the line "No matching toolchains found for requested specification"
|
||||
somewhere, it means that the Gradle build tool can't locate the correct version of the JDK to use.
|
||||
The file "gradle.properties" contains a line like this: ``javaVersion=11``.
|
||||
You can do one of two things to fix the build error:
|
||||
|
||||
- install a JDK with that version,
|
||||
- or change the version number to match the JDK version that *is* installed on your system (must be >= 11)
|
||||
|
||||
|
||||
Examples
|
||||
|
Loading…
Reference in New Issue
Block a user