Skip to content

Commit

Permalink
Added OpenJDK 23
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianeicher committed Sep 20, 2024
1 parent f94c45f commit 11f65ef
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 5 deletions.
2 changes: 2 additions & 0 deletions java/jdk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<feed src="https://apps.0install.net/java/openjdk-20.xml"/>
<feed src="https://apps.0install.net/java/openjdk-21.xml"/>
<feed src="https://apps.0install.net/java/openjdk-22.xml"/>
<feed src="https://apps.0install.net/java/openjdk-23.xml"/>

<package-implementation distributions="Darwin Windows" package="openjdk-7-jdk"/>
<package-implementation distributions="Darwin Windows" package="openjdk-8-jdk"/>
Expand All @@ -38,6 +39,7 @@
<package-implementation distributions="Darwin Windows" package="openjdk-20-jdk"/>
<package-implementation distributions="Darwin Windows" package="openjdk-21-jdk"/>
<package-implementation distributions="Darwin Windows" package="openjdk-22-jdk"/>
<package-implementation distributions="Darwin Windows" package="openjdk-23-jdk"/>

<group>
<!-- Some versions of JDK bundle their own copy of the JRE. For those that don't we refer back the regular JRE. -->
Expand Down
2 changes: 1 addition & 1 deletion java/openjdk-22.watch.py → java/openjdk-23.watch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from urllib import request
import re

data = request.urlopen('http://jdk.java.net/22/').read().decode('utf-8')
data = request.urlopen('http://jdk.java.net/23/').read().decode('utf-8')
matches = re.findall(r'GA\/jdk([0-9\.]+)\/([0-9a-f]+\/[0-9]+)\/', data)[0]
releases = [{'version': matches[0], 'release-id': matches[1]}]
91 changes: 91 additions & 0 deletions java/openjdk-23.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" ?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" uri="https://apps.0install.net/java/openjdk-23.xml">
<name>OpenJDK 23.x</name>
<summary>OpenJDK Development Kit 23.x</summary>
<description>OpenJDK is a development environment for building applications, applets, and components using the Java programming language.</description>
<homepage>http://jdk.java.net/23/</homepage>
<category>Development</category>

<feed-for interface="https://apps.0install.net/java/jdk.xml"/>

<group arch="Linux-x86_64" license="GNU General Public License, version 2, with the Classpath Exception">
<command name="run" path="bin/javac"/>
<command name="java" path="bin/java"/>
<command name="javap" path="bin/javap"/>
<command name="jar" path="bin/jar"/>
<command name="jarsigner" path="bin/jarsigner"/>
<command name="javadoc" path="bin/javadoc"/>
<command name="keytool" path="bin/keytool"/>
<command name="rmiregistry" path="bin/rmiregistry"/>
<command name="jrunscript" path="bin/jrunscript"/>
<command name="jcmd" path="bin/jcmd"/>
<command name="jconsole" path="bin/jconsole"/>
<command name="jdb" path="bin/jdb"/>
<command name="jdeprscan" path="bin/jdeprscan"/>
<command name="jdeps" path="bin/jdeps"/>
<command name="jfr" path="bin/jfr"/>
<command name="jhsdb" path="bin/jhsdb"/>
<command name="jimage" path="bin/jimage"/>
<command name="jinfo" path="bin/jinfo"/>
<command name="jlink" path="bin/jlink"/>
<command name="jmap" path="bin/jmap"/>
<command name="jmod" path="bin/jmod"/>
<command name="jps" path="bin/jps"/>
<command name="jshell" path="bin/jshell"/>
<command name="jstack" path="bin/jstack"/>
<command name="jstat" path="bin/jstat"/>
<command name="jstatd" path="bin/jstatd"/>
<command name="serialver" path="bin/serialver"/>
<command name="jpackage" path="bin/jaccesswalker"/>
<command name="jwebserver" path="bin/jwebserver"/>

<implementation version="23" released="2024-09-20" stability="stable" id="sha256new_UA2D5Z4XOKW7QFDWQC5TKQBCOXGYHEAGVFIHEQDYEU5L265O2KAA">
<manifest-digest sha256new="UA2D5Z4XOKW7QFDWQC5TKQBCOXGYHEAGVFIHEQDYEU5L265O2KAA"/>
<archive href="https://download.oracle.com/java/GA/jdk23/3c5b90190c68498b986a97f276efd28a/37/GPL/openjdk-23_linux-x64_bin.tar.gz" size="210705626" type="application/x-compressed-tar" extract="jdk-23"/>
</implementation>
</group>

<group arch="Windows-x86_64" license="GNU General Public License, version 2, with the Classpath Exception">
<command name="run" path="bin/javac.exe"/>
<command name="java" path="bin/java.exe"/>
<command name="java-gui" path="bin/javaw.exe"/>
<command name="javadoc" path="bin/javadoc.exe"/>
<command name="javap" path="bin/javap.exe"/>
<command name="jar" path="bin/jar.exe"/>
<command name="jarsigner" path="bin/jarsigner.exe"/>
<command name="keytool" path="bin/keytool.exe"/>
<command name="rmiregistry" path="bin/rmiregistry.exe"/>
<command name="jrunscript" path="bin/jrunscript.exe"/>
<command name="jcmd" path="bin/jcmd.exe"/>
<command name="jconsole" path="bin/jconsole.exe"/>
<command name="jdb" path="bin/jdb.exe"/>
<command name="jdeprscan" path="bin/jdeprscan.exe"/>
<command name="jdeps" path="bin/jdeps.exe"/>
<command name="jfr" path="bin/jfr.exe"/>
<command name="jhsdb" path="bin/jhsdb.exe"/>
<command name="jimage" path="bin/jimage.exe"/>
<command name="jinfo" path="bin/jinfo.exe"/>
<command name="jlink" path="bin/jlink.exe"/>
<command name="jmap" path="bin/jmap.exe"/>
<command name="jmod" path="bin/jmod.exe"/>
<command name="jps" path="bin/jps.exe"/>
<command name="jshell" path="bin/jshell.exe"/>
<command name="jstack" path="bin/jstack.exe"/>
<command name="jstat" path="bin/jstat.exe"/>
<command name="jstatd" path="bin/jstatd.exe"/>
<command name="serialver" path="bin/serialver.exe"/>
<command name="kinit" path="bin/kinit.exe"/>
<command name="klist" path="bin/klist.exe"/>
<command name="ktab" path="bin/ktab.exe"/>
<command name="jabswitch" path="bin/jabswitch.exe"/>
<command name="jaccessinspector" path="bin/jaccessinspector.exe"/>
<command name="jaccesswalker" path="bin/jaccesswalker.exe"/>
<command name="jpackage" path="bin/jaccesswalker.exe"/>
<command name="jwebserver" path="bin/jwebserver.exe"/>

<implementation version="23" released="2024-09-20" stability="stable" id="sha256new_DUQN7CYLROYX6FFVCQAMSESSRSE6YKUFBUDFJFAJXDWRV5K4TGEA">
<manifest-digest sha256new="DUQN7CYLROYX6FFVCQAMSESSRSE6YKUFBUDFJFAJXDWRV5K4TGEA"/>
<archive href="https://download.oracle.com/java/GA/jdk23/3c5b90190c68498b986a97f276efd28a/37/GPL/openjdk-23_windows-x64_bin.zip" size="209091023" type="application/zip" extract="jdk-23"/>
</implementation>
</group>
</interface>
8 changes: 4 additions & 4 deletions java/openjdk-22.xml.template → java/openjdk-23.xml.template
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0"?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
<name>OpenJDK 22.x</name>
<summary>OpenJDK Development Kit 22.x</summary>
<name>OpenJDK 23.x</name>
<summary>OpenJDK Development Kit 23.x</summary>
<description>OpenJDK is a development environment for building applications, applets, and components using the Java programming language.</description>
<homepage>http://jdk.java.net/22/</homepage>
<homepage>http://jdk.java.net/23/</homepage>
<category>Development</category>

<feed-for interface="https://apps.0install.net/java/openjdk-22.xml"/>
<feed-for interface="https://apps.0install.net/java/openjdk-23.xml"/>

<group arch="Linux-x86_64" license="GNU General Public License, version 2, with the Classpath Exception">
<command name="run" path="bin/javac"/>
Expand Down

0 comments on commit 11f65ef

Please sign in to comment.