mirror of
https://github.com/irmen/prog8.git
synced 2025-01-10 20:30:23 +00:00
update to Java 17 LTS
This commit is contained in:
parent
7915dda35f
commit
3ef5bdfeda
8
.idea/kotlinc.xml
generated
8
.idea/kotlinc.xml
generated
@ -1,9 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="Kotlin2JvmCompilerArguments">
|
<component name="Kotlin2JvmCompilerArguments">
|
||||||
<option name="jvmTarget" value="11" />
|
<option name="jvmTarget" value="17" />
|
||||||
|
</component>
|
||||||
|
<component name="KotlinCommonCompilerArguments">
|
||||||
|
<option name="apiVersion" value="1.9" />
|
||||||
|
<option name="languageVersion" value="1.9" />
|
||||||
</component>
|
</component>
|
||||||
<component name="KotlinJpsPluginSettings">
|
<component name="KotlinJpsPluginSettings">
|
||||||
<option name="version" value="1.9.20" />
|
<option name="version" value="1.9.24" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -22,7 +22,7 @@
|
|||||||
<component name="FrameworkDetectionExcludesConfiguration">
|
<component name="FrameworkDetectionExcludesConfiguration">
|
||||||
<type id="Python" />
|
<type id="Python" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="openjdk-11" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="openjdk-17" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -62,7 +62,7 @@ For normal use, the ``installDist`` task should suffice and after succesful comp
|
|||||||
|
|
||||||
.. hint::
|
.. hint::
|
||||||
Development and testing is done on Linux using the IntelliJ IDEA IDE,
|
Development and testing is done on Linux using the IntelliJ IDEA IDE,
|
||||||
but the actual prog8 compiler should run on all operating systems that provide a java runtime (version 11 or newer).
|
but the actual prog8 compiler should run on all operating systems that provide a java runtime (version 17 or newer).
|
||||||
If you do have trouble building or running the compiler on your operating system, please let me know!
|
If you do have trouble building or running the compiler on your operating system, please let me know!
|
||||||
|
|
||||||
To successfully build and debug in IDEA, you have to manually generate the Antlr-parser classes first.
|
To successfully build and debug in IDEA, you have to manually generate the Antlr-parser classes first.
|
||||||
@ -325,7 +325,7 @@ Troubleshooting
|
|||||||
|
|
||||||
Compiler doesn't run, complains about "UnsupportedClassVersionError"
|
Compiler doesn't run, complains about "UnsupportedClassVersionError"
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
You need to install and use JDK version 11 or newer to run the prog8 compiler. Check this with "java -version".
|
You need to install and use JDK version 17 or newer to run the prog8 compiler. Check this with "java -version".
|
||||||
See :ref:`requirements`.
|
See :ref:`requirements`.
|
||||||
|
|
||||||
The computer just resets (at the end of the program)
|
The computer just resets (at the end of the program)
|
||||||
|
@ -193,9 +193,9 @@ It's easy to compile yourself, but a recent precompiled .exe (only for Windows)
|
|||||||
*You need at least version 1.58.0 of this assembler.*
|
*You need at least version 1.58.0 of this assembler.*
|
||||||
If you are on Linux, there's probably a "64tass" package in the repositories, but check if it is a recent enough version.
|
If you are on Linux, there's probably a "64tass" package in the repositories, but check if it is a recent enough version.
|
||||||
|
|
||||||
A **Java runtime (jre or jdk), version 11 or newer** is required to run the prog8 compiler itself.
|
A **Java runtime (jre or jdk), version 17 or newer** is required to run the prog8 compiler itself.
|
||||||
If you're scared of Oracle's licensing terms, get one of the versions of another vendor. Even Microsoft provides their own version.
|
If you're scared of Oracle's licensing terms, get one of the versions of another vendor. Even Microsoft provides their own version.
|
||||||
Other OpenJDK builds can be found at `Adoptium <https://adoptium.net/temurin/releases/?version=11>`_ .
|
Other OpenJDK builds can be found at `Adoptium <https://adoptium.net/temurin/releases/?version=17>`_ .
|
||||||
For MacOS you can also use the Homebrew system to install a recent version of OpenJDK.
|
For MacOS you can also use the Homebrew system to install a recent version of OpenJDK.
|
||||||
|
|
||||||
Finally: an **emulator** (or a real machine of course) to test and run your programs on.
|
Finally: an **emulator** (or a real machine of course) to test and run your programs on.
|
||||||
|
@ -3,6 +3,6 @@ org.gradle.console=rich
|
|||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
javaVersion=11
|
javaVersion=17
|
||||||
kotlinVersion=1.9.24
|
kotlinVersion=1.9.24
|
||||||
version=10.3.1-SNAPSHOT
|
version=10.3.1-SNAPSHOT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user