Skip to content
Draft
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
c8ab7ce
Update to JDK25
koppor Sep 29, 2025
9afbfe1
No more icon
koppor Sep 29, 2025
e6ec58d
Merge remote-tracking branch 'origin/main' into jdk25
koppor Sep 29, 2025
eeb401d
Try other icon file names
koppor Sep 29, 2025
5ee1ebf
Merge remote-tracking branch 'origin/main' into jdk25
koppor Sep 29, 2025
a0a1fb9
Lowercase
koppor Sep 29, 2025
d061dee
Merge remote-tracking branch 'origin/main' into jdk25
koppor Sep 29, 2025
e19eeea
Remove *** from build output
koppor Sep 29, 2025
4888971
Try to fix *.icns
koppor Sep 30, 2025
f714d92
Maybe all lowercase works
koppor Sep 30, 2025
d7f5171
Try to include more files
koppor Sep 30, 2025
e3554f2
Try JavaApp.icns
koppor Sep 30, 2025
4558156
Try two times JabRef.icns
koppor Sep 30, 2025
1234af3
Revert last changes
koppor Sep 30, 2025
8dd46b1
Relative path for jabref.icns
koppor Sep 30, 2025
84a9a01
Icon comes from other ways
koppor Sep 30, 2025
5daa552
Fix path to .icns
koppor Sep 30, 2025
49e6dae
Add missing dot
koppor Sep 30, 2025
03437b2
Disable modernizer
koppor Sep 30, 2025
7d3fd7a
No more JabKit (jbang works fine)
koppor Sep 30, 2025
20aa273
Try to fix icons
koppor Oct 1, 2025
b254b9a
Update JBang
koppor Oct 1, 2025
768bce0
Update JBang scripts
koppor Oct 1, 2025
9910ffe
Revert "Try to fix icons"
koppor Oct 1, 2025
2f73f53
Fix casing of JabRef.icns
koppor Oct 1, 2025
292adc2
Merge branch 'main' into jdk25
koppor Oct 1, 2025
e1de30a
Merge branch 'main' into jdk25
koppor Oct 1, 2025
50c9471
Merge remote-tracking branch 'upstream/main' into jdk25
Siedlerchr Oct 1, 2025
886c48b
Try to fix notarization
koppor Oct 1, 2025
9ec90b0
Fix notarization
koppor Oct 2, 2025
053582a
Remove default Rutnime-Info.plist* files
koppor Oct 2, 2025
2072159
Remove Info.plist*
koppor Oct 2, 2025
d392eaa
Remove Info-lite.plist*
koppor Oct 2, 2025
31221f5
Linebreak in README.md
koppor Oct 2, 2025
871bbca
Remove "public" for Java25 main methods
koppor Oct 2, 2025
7d68cf8
Really remove public for JDK25 main methods
koppor Oct 2, 2025
457f529
Fix "public"
koppor Oct 2, 2025
5ffaed3
Merge branch 'main' into jdk25
Siedlerchr Oct 6, 2025
2ac94d3
Let's try with JDK26 on macOS
koppor Oct 8, 2025
6311de6
Switch from mise to ASDF
koppor Oct 8, 2025
60d4d3b
Fix syntax
koppor Oct 8, 2025
53f82cd
Try Oracle action
koppor Oct 8, 2025
248c4ed
Fix path
koppor Oct 8, 2025
397edc8
Try 26-ea instead of 26
koppor Oct 8, 2025
8217617
Remove debug output
koppor Oct 8, 2025
5e3de9f
Revert "Try 26-ea instead of 26"
koppor Oct 8, 2025
e1901cf
Switch JDK
koppor Oct 8, 2025
bfd528f
Try to add jdk.jsonobject
koppor Oct 8, 2025
1b97662
Add JavaFX JMODs
koppor Oct 9, 2025
97548e0
Update runners for notarization
koppor Oct 9, 2025
e6e1fb4
Merge remote-tracking branch 'origin/main' into jdk25
koppor Oct 9, 2025
5a153b5
Fix labels
koppor Oct 9, 2025
c9e20d2
Try to remove empty jdk.jsobject dependency
koppor Oct 9, 2025
010a2fe
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 9, 2025
5aa18fa
Try other syntax
koppor Oct 9, 2025
4d83916
Revert "Try other syntax"
koppor Oct 9, 2025
4727d32
Remove wrong jmod adding statement
koppor Oct 9, 2025
0b79f2d
Try workaround for missing jdk.jsobject
koppor Oct 9, 2025
e4edcca
Revert "Try workaround for missing jdk.jsobject"
koppor Oct 10, 2025
3c8a712
Revert "Remove wrong jmod adding statement"
koppor Oct 10, 2025
7312c4a
Revert "Try to remove empty jdk.jsobject dependency"
koppor Oct 10, 2025
afec0a9
Try other workaround
koppor Oct 10, 2025
5bd3939
Fix automatic module
koppor Oct 10, 2025
fb31aae
Enable crash output on console
koppor Oct 10, 2025
32c68dc
Merge branch 'main' into jdk25
koppor Oct 10, 2025
e98ff24
Try to remove empty jdk.jsobject dependency
koppor Oct 9, 2025
4747554
Revert "Fix automatic module"
koppor Oct 10, 2025
0b76341
Revert "Enable crash output on console"
koppor Oct 10, 2025
997484c
Add to modulepath only
koppor Oct 10, 2025
21e2b56
Enable eaJdkBuild for all
koppor Oct 10, 2025
b886b1e
Fix Groovy vs. Kotlin
koppor Oct 10, 2025
417cc44
Fix unzip
koppor Oct 10, 2025
c82e420
Fix sed command
koppor Oct 10, 2025
bef7f3f
Try to parameterize ea build
koppor Oct 10, 2025
42fc331
Merge remote-tracking branch 'origin/main' into jdk25
koppor Oct 10, 2025
262941e
Revert "Try to parameterize ea build"
koppor Oct 10, 2025
9d281b2
Try to add eaJdk parameter (again)
koppor Oct 10, 2025
04f973c
Refine icons
koppor Oct 10, 2025
eeba5b9
Creating GITHUB_STEP_SUMMARY
koppor Oct 10, 2025
23e0c60
Fix \
koppor Oct 10, 2025
fefafd8
Extract jdk.jsobject.jmod only
koppor Oct 10, 2025
4e4c8dc
Try / on Windows
koppor Oct 10, 2025
bf5719b
Keep directory struture
koppor Oct 10, 2025
1f810ef
Merge remote-tracking branch 'origin/main' into jdk25
koppor Oct 11, 2025
8b6885a
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 11, 2025
03fe025
Merge branch 'just-jdk25' into jdk25
koppor Oct 11, 2025
6675f8e
Add hint on javafx update
koppor Oct 13, 2025
a347b2f
Merge branch 'main' into just-jdk25
koppor Oct 22, 2025
634b4ac
Switch to Temurin in IntelliJ
koppor Oct 22, 2025
c13ee69
Merge branch 'just-jdk25' into jdk25
koppor Oct 22, 2025
8389560
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 30, 2025
a196c72
Add jabls to notarization
koppor Oct 30, 2025
7d29c8f
Merge branch 'just-jdk25' into jdk25
koppor Oct 30, 2025
6d8281d
Merge remote-tracking branch 'origin/main' into just-jdk25
koppor Oct 30, 2025
28a6481
Merge branch 'just-jdk25' into jdk25
koppor Oct 30, 2025
c001f38
Merge branch 'main' into just-jdk25
koppor Nov 2, 2025
049569f
Merge branch 'just-jdk25' into jdk25
koppor Nov 2, 2025
292ef79
Update JMODs from ea+10 to ea+14
koppor Nov 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
// Install java.
// See https://github.com/devcontainers/features/tree/main/src/java#options for details.
"ghcr.io/devcontainers/features/java:1": {
"version": "24.0.2-amzn",
"version": "latest",
"installGradle": true,
"gradleVersion": "8.14.3",
"gradleVersion": "latest",
"jdkDistro": "Corretto"
}
}
Expand Down
38 changes: 9 additions & 29 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v5
with:
java-version: '24'
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand All @@ -221,15 +221,15 @@ jobs:
with:
p12-file-base64: ${{ secrets.OSX_SIGNING_CERT }}
p12-password: ${{ secrets.OSX_CERT_PWD }}
keychain-password: jabref
keychain-password: tEmPoRaRY-PaeSWD
- name: Setup macOS key chain for app id cert
if: (startsWith(matrix.os, 'macos')) && (needs.conditions.outputs.secretspresent == 'true')
uses: slidoapp/import-codesign-certs@1923310662e8682dd05b76b612b53301f431cd5d
with:
p12-file-base64: ${{ secrets.OSX_SIGNING_CERT_APPLICATION }}
p12-password: ${{ secrets.OSX_CERT_PWD }}
create-keychain: false
keychain-password: jabref
keychain-password: tEmPoRaRY-PaeSWD
- name: Build runtime image and installer
shell: bash
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" :jabgui:jpackage
Expand All @@ -256,15 +256,6 @@ jobs:
rm debian-binary control.tar.* data.tar.*
mv -f jabref_${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}${{ matrix.suffix }}${{ matrix.archForDebianRepack }}_repackaged.deb jabref_${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}${{ matrix.suffix }}.deb

- name: Build JabKit
shell: bash
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" :jabkit:jpackage
- name: Package JabKit application image
shell: bash
run: |
set -e
${{ matrix.archivePortableJabKit }}

# region Upload to builds.jabref.org / GitHub artifacts store
- name: Setup SSH key
if: (needs.conditions.outputs.upload-to-builds-jabref-org == 'true')
Expand Down Expand Up @@ -301,22 +292,11 @@ jobs:
# for rsync installed by chocolatey, we need the ssh.exe delivered with that installation
run: |
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'C:\ProgramData\chocolatey\lib\rsync\tools\bin\ssh.exe -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabgui/build/packages/${{ matrix.os }}/ [email protected]:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ || true
- name: Upload jabkkit to builds.jabref.org (Windows)
if: ${{ (steps.diskspace.outputs.available == 'true') && (matrix.os == 'windows-latest') }}
shell: cmd
# for rsync installed by chocolatey, we need the ssh.exe delivered with that installation
run: |
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'C:\ProgramData\chocolatey\lib\rsync\tools\bin\ssh.exe -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabkit/build/packages/${{ matrix.os }}/ [email protected]:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ || true
- name: Upload jabgui to builds.jabref.org (linux, macOS)
if: ${{ (steps.diskspace.outputs.available == 'true') && (startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')) }}
shell: bash
run: |
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabgui/build/packages/${{ matrix.os }}/ [email protected]:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ || true
- name: Upload jabkit to builds.jabref.org (linux, macOS)
if: ${{ (steps.diskspace.outputs.available == 'true') && (startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')) }}
shell: bash
run: |
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabkit/build/packages/${{ matrix.os }}/ [email protected]:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ || true
- name: Upload to GitHub workflow artifacts store (macOS)
if: ${{ (startsWith(matrix.os, 'macos')) && (needs.conditions.outputs.should-notarize == 'true') }}
uses: actions/upload-artifact@v4
Expand All @@ -325,7 +305,6 @@ jobs:
name: JabRef-${{ matrix.os }}-tbn
path: |
jabgui/build/packages/${{ matrix.os }}
jabkit/build/packages/${{ matrix.os }}
compression-level: 0 # no compression
# endregion

Expand Down Expand Up @@ -408,24 +387,25 @@ jobs:
uses: actions/download-artifact@v5
with:
name: JabRef-${{ matrix.os }}-tbn
path: jabgui
- name: Notarize dmg
shell: bash
run: |
cd jabgui
find . -type f
xcrun notarytool store-credentials "notarytool-profile" --apple-id "[email protected]" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg
xcrun notarytool submit JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.dmg
- name: Notarize pkg
shell: bash
run: |
cd jabgui
xcrun notarytool store-credentials "notarytool-profile" --apple-id "[email protected]" --team-id "6792V39SK3" --password "${{ secrets.OSX_NOTARIZATION_APP_PWD }}"
xcrun notarytool submit packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple packages/${{ matrix.os }}/JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg
xcrun notarytool submit JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg --keychain-profile "notarytool-profile" --wait
xcrun stapler staple JabRef-${{ needs.build.outputs.major }}.${{ needs.build.outputs.minor }}${{ matrix.suffix}}.pkg
- name: Upload to builds.jabref.org
shell: bash
run: |
echo "${{ secrets.buildJabRefPrivateKey }}" > sshkey
chmod 600 sshkey
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabgui/build/packages/${{ matrix.os }}/ [email protected]:/var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }}/
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' jabgui/ [email protected]:/var/www/builds.jabref.org/www/${{ needs.build.outputs.branchname }}/
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v5
with:
java-version: '24'
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-openrewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sbom-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v5
with:
distribution: 'corretto'
java-version: '24'
java-version: 25
check-latest: true
cache: 'gradle'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-code-fetchers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/tests-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Run checkstyle reporter
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down Expand Up @@ -130,6 +130,8 @@ jobs:
modernizer:
name: Modernizer
runs-on: ubuntu-latest
# Version 1.11.0 does not run on JDK25: "java.lang.reflect.InvocationTargetException"
if: false
steps:
- name: Checkout source
uses: actions/checkout@v5
Expand All @@ -139,7 +141,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down Expand Up @@ -257,7 +259,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down Expand Up @@ -293,7 +295,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Generate JBang cache key
Expand Down Expand Up @@ -342,7 +344,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down Expand Up @@ -392,7 +394,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down Expand Up @@ -441,7 +443,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Generate JBang cache key
Expand Down Expand Up @@ -485,7 +487,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Generate JBang cache key
Expand Down Expand Up @@ -562,7 +564,7 @@ jobs:
if: github.ref == 'refs/heads/main'
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down Expand Up @@ -608,7 +610,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 24
java-version: 25
distribution: 'corretto'
check-latest: true
- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .jbang/CheckoutPR.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//DEPS org.eclipse.jgit:org.eclipse.jgit.pgm:7.3.0.202506031305-r

public class CheckoutPR {
public static void main(String[] args) throws Exception {
static void main(String[] args) throws Exception {
GitHub github = new GitHubBuilder().build();
GHRepository repo = github.getRepository("JabRef/jabref");

Expand Down
2 changes: 1 addition & 1 deletion .jbang/CloneJabRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//DEPS org.eclipse.jgit:org.eclipse.jgit.pgm:7.3.0.202506031305-r

public class CloneJabRef {
public static void main(String[] args) throws Exception {
static void main(String[] args) throws Exception {
Path targetDir;
if (args.length == 1) {
targetDir = Path.of(args[0]).toAbsolutePath();
Expand Down
4 changes: 2 additions & 2 deletions .jbang/JabKitLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//DESCRIPTION jabkit - mange BibTeX files using JabRef

//JAVA 24
//JAVA 25
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

//SOURCES ../jabkit/src/main/java/org/jabref/cli/converter/CygWinPathConverter.java
Expand Down Expand Up @@ -41,7 +41,7 @@

/// This class is required for [jbang](https://www.jbang.dev/)
public class JabKitLauncher {
public static void main(String[] args) {
static void main(String[] args) {
org.jabref.JabKit.main(args);
}
}
4 changes: 2 additions & 2 deletions .jbang/JabLsLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//DESCRIPTION jabls - start a bibtex languageserver

//JAVA 24
//JAVA 25
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

//SOURCES ../jabls-cli/src/main/java/org/jabref/languageserver/cli/ServerCli.java
Expand Down Expand Up @@ -46,7 +46,7 @@

/// This class is required for [jbang](https://www.jbang.dev/)
public class JabLsLauncher {
public static void main(String[] args) throws Exception {
static void main(String[] args) throws Exception {
org.jabref.languageserver.cli.ServerCli.main(args);
}
}
4 changes: 2 additions & 2 deletions .jbang/JabSrvLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//DESCRIPTION jabsrv - serve BibTeX files using JabRef

//JAVA 24
//JAVA 25
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

//SOURCES ../jabsrv-cli/src/main/java/org/jabref/http/server/cli/ServerCli.java
Expand Down Expand Up @@ -90,7 +90,7 @@

/// This class is required for [jbang](https://www.jbang.dev/)
public class JabSrvLauncher {
public static void main(String[] args) throws Exception {
static void main(String[] args) throws Exception {
org.jabref.http.server.cli.ServerCli.main(args);
}
}
2 changes: 1 addition & 1 deletion .moderne/moderne.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
specs: specs.moderne.ai/v1/cli
java:
selectedJdk: '24'
selectedJdk: '25'
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
java=24.0.2-amzn
java=25-amzn
#visualvm=2.1.10
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ java {
// - build.gradle -> jacoco -> toolVersion (because JaCoCo does not support newest JDK out of the box. Check versions at https://www.jacoco.org/jacoco/trunk/doc/changes.html)
// - jitpack.yml
// - .devcontainer/devcontainer.json#L34 - there, also check if the gradleVersion matches the one of gradle/wrapper/gradle-wrapper.properties
// - .moderne/moderne.yml
// - .github/workflows/binaries*.yml
// - .github/workflows/publish.yml
// - .github/workflows/tests*.yml
// - .github/workflows/update-gradle-wrapper.yml
// - docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.md
// - .jbang/Jab*.java
// - .moderne/moderne.yml
// - .sdkmanrc
languageVersion = JavaLanguageVersion.of(24)
// - build-support/src/main/java/*.java
// - docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.md
languageVersion = JavaLanguageVersion.of(25)
// See https://docs.gradle.org/current/javadoc/org/gradle/jvm/toolchain/JvmVendorSpec.html for a full list
// Temurin does not ship jmods, thus we need to use another JDK -- see https://github.com/actions/setup-java/issues/804
// We also need a JDK without JavaFX, because we patch JavaFX due to modularity issues
Expand All @@ -24,5 +25,5 @@ java {
}

tasks.withType<JavaCompile>().configureEach {
options.release = 24
options.release = 25
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//JAVA 24
//JAVA 25+
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

//DEPS com.fasterxml.jackson.core:jackson-databind:2.17.1
Expand Down Expand Up @@ -45,7 +45,7 @@ public class CitationStyleCatalogGenerator {

private static final Logger LOGGER = LoggerFactory.getLogger(CitationStyleCatalogGenerator.class);

public static void main(String[] args) {
static void main(String[] args) {
generateCitationStyleCatalog();
}

Expand Down
4 changes: 2 additions & 2 deletions build-support/src/main/java/JournalListMvGenerator.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//JAVA 24
//JAVA 25+
//RUNTIME_OPTIONS --enable-native-access=ALL-UNNAMED

//DEPS com.h2database:h2:2.2.224
Expand Down Expand Up @@ -48,7 +48,7 @@ public class JournalListMvGenerator {

private static final Logger LOGGER = LoggerFactory.getLogger(JournalListMvGenerator.class);

public static void main(String[] args) throws IOException {
static void main(String[] args) throws IOException {
boolean verbose = (args.length == 1) && ("--verbose".equals(args[0]));

Path abbreviationsDirectory = Path.of("jablib", "src", "main", "abbrv.jabref.org", "journals");
Expand Down
Loading
Loading