Skip to content

Commit

Permalink
Update to 23 (#260)
Browse files Browse the repository at this point in the history
* Bump versions

* Update JDK/JavaFX versions to 23
  • Loading branch information
jperedadnr authored Oct 22, 2024
1 parent f75cde4 commit d7d8d59
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
22 changes: 19 additions & 3 deletions gradle.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2>Run HelloWorld using Gradle</h2>
<p>
<b>Important</b>: Note that transitive dependencies are automatically resolved
(for instance, there is no need to add a dependency for the <kbd>javafx.graphics</kbd> module, since it is
<a href="https://openjfx.io/javadoc/15/javafx.controls/module-summary.html" target="_blank">transitively</a> resolved by the
<a href="https://openjfx.io/javadoc/23/javafx.controls/module-summary.html" target="_blank">transitively</a> resolved by the
<kbd>javafx.controls</kbd> module). But if your application is using <kbd>FXML</kbd>, you will need to
add the <kbd>javafx.fxml</kbd> module as well.
</p>
Expand Down Expand Up @@ -87,14 +87,30 @@ <h2>Run HelloWorld using Gradle</h2>
<td>13</td>
<td>14</td>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
<td>20</td>
<td>21</td>
<td>22</td>
<td>23</td>
</tr>
<tr>
<th>Gradle Version</th>
<td>5.0</td>
<td>5.0</td>
<td>5.4</td>
<td>6.0</td>
<td>6.3</td>
<td>6.3</td>
<td>6.7</td>
<td>7.0</td>
<td>7.3</td>
<td>7.5</td>
<td>7.6</td>
<td>8.3</td>
<td>8.5</td>
<td>8.8</td>
<td>8.10</td>
</tr>
</table>
</div>
10 changes: 5 additions & 5 deletions install-java.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ <h2>Install Java</h2>

<p>
Download an appropriate JDK for your operating system. The latest JDK can be downloaded from the official
<a id="jdk-download-link" target="_blank" href="https://jdk.java.net/21/">OpenJDK</a> website.
<a id="jdk-download-link" target="_blank" href="https://jdk.java.net/23/">OpenJDK</a> website.
</p>

<p>
Once installed, you can use the
<kbd>java</kbd> command from your command line.
</p>

<p>Check if the correct java version is installed. The following shows the output for OpenJDK 21:</p>
<p>Check if the correct java version is installed. The following shows the output for OpenJDK <span class="JDK_MAJOR">21</span>:</p>

<pre><code>
$ java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment (build 21+35-2513)
OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)
openjdk version "23.0.1" 2024-10-15
OpenJDK Runtime Environment (build 23.0.1+11-39)
OpenJDK 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)
</code></pre>

<p>
Expand Down
6 changes: 3 additions & 3 deletions js/gluon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$(function() {
// constants
var MIN_JDK = "17";
var JDK_MAJOR = "21";
var JFX_MAJOR = "21";
var MIN_JDK = "21";
var JDK_MAJOR = "23";
var JFX_MAJOR = "23";

var JFX_VERSION = "23.0.1";
var JFX_LTS_VERSION = "17 or 21";
Expand Down
2 changes: 1 addition & 1 deletion maven.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h2>Run HelloWorld using Maven</h2>
<p>
<b>Important</b>: Note that transitive dependencies are automatically resolved
(for instance, there is no need to add a dependency for the <kbd>javafx.graphics</kbd> module, since it is
<a href="https://openjfx.io/javadoc/15/javafx.controls/module-summary.html" target="_blank">transitively</a> resolved by the
<a href="https://openjfx.io/javadoc/23/javafx.controls/module-summary.html" target="_blank">transitively</a> resolved by the
<kbd>javafx.controls</kbd> module). But if your application is using <kbd>FXML</kbd>, you will need to
add a dependency for the <kbd>javafx.fxml</kbd> module as well.
</p>
Expand Down

0 comments on commit d7d8d59

Please sign in to comment.