Update to Java 19

pull/132/head
James Ball 2022-09-28 17:50:48 +01:00 zatwierdzone przez James H Ball
rodzic 38976645d8
commit a39d29eef1
3 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -11,10 +11,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up JDK 17 - name: Set up JDK 19
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '17' java-version: '19'
distribution: 'adopt' distribution: 'adopt'
- name: Build with Maven - name: Build with Maven
run: | run: |
@ -44,10 +44,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up JDK 17 - name: Set up JDK 19
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '17' java-version: '19'
distribution: 'adopt' distribution: 'adopt'
- name: Build with Maven - name: Build with Maven
run: | run: |
@ -74,10 +74,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up JDK 17 - name: Set up JDK 19
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: '17' java-version: '19'
distribution: 'adopt' distribution: 'adopt'
- name: Build with Maven - name: Build with Maven
run: | run: |

Wyświetl plik

@ -168,7 +168,7 @@ To uninstall, use Windows control panel, as you would expect.
- Download the latest `osci-render-os-VERSION.jar` from [Releases](https://github.com/jameshball/osci-render/releases) - Download the latest `osci-render-os-VERSION.jar` from [Releases](https://github.com/jameshball/osci-render/releases)
- Download the version that is relevant to your OS, otherwise the program will not open - Download the version that is relevant to your OS, otherwise the program will not open
- i.e. `osci-render-win-VERSION.jar` for Windows and `osci-render-unix-VERSION.jar` for Linux - i.e. `osci-render-win-VERSION.jar` for Windows and `osci-render-unix-VERSION.jar` for Linux
- Download and install [Java 17 or later](https://www.oracle.com/java/technologies/downloads/) - Download and install [Java 19 or later](https://www.oracle.com/java/technologies/downloads/)
- Run the following command from your terminal to run the `.jar`, substituting the correct path to your `.jar` file - Run the following command from your terminal to run the `.jar`, substituting the correct path to your `.jar` file
- `java "-Dfile.encoding=UTF8" -jar "PATH/TO/osci-render-os-VERSION.jar"` - `java "-Dfile.encoding=UTF8" -jar "PATH/TO/osci-render-os-VERSION.jar"`
- Start rendering! - Start rendering!
@ -177,7 +177,7 @@ To uninstall, use Windows control panel, as you would expect.
I am using Maven for dependency management and to package the program. Doing the following will setup the project. I highly recommend using IntelliJ. I am using Maven for dependency management and to package the program. Doing the following will setup the project. I highly recommend using IntelliJ.
- Download and install [Java 17 or later](https://www.oracle.com/java/technologies/downloads/) - Download and install [Java 19 or later](https://www.oracle.com/java/technologies/downloads/)
- Run `git clone git@github.com:jameshball/osci-render.git` - Run `git clone git@github.com:jameshball/osci-render.git`
- Open the project in IntelliJ - Open the project in IntelliJ
- I use [SceneBuilder](https://gluonhq.com/products/scene-builder/) to edit the GUI - I use [SceneBuilder](https://gluonhq.com/products/scene-builder/) to edit the GUI

Wyświetl plik

@ -12,8 +12,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release> <maven.compiler.release>19</maven.compiler.release>
<javafx.version>17.0.1</javafx.version> <javafx.version>19</javafx.version>
<appMainClass>sh.ball.gui.Launcher</appMainClass> <appMainClass>sh.ball.gui.Launcher</appMainClass>
</properties> </properties>