diff --git a/gui/electron/electron-builder.yml b/gui/electron/electron-builder.yml index 04912685f..eb1277118 100644 --- a/gui/electron/electron-builder.yml +++ b/gui/electron/electron-builder.yml @@ -53,7 +53,7 @@ linux: icon: "./resources/icons" deb: - depends: [openjdk-17-jre-headless, udev] + depends: [openjdk-25-jre-headless, udev] afterInstall: "./resources/scripts/postinstall.sh" afterRemove: "./resources/scripts/postremove.sh" diff --git a/gui/electron/main/index.ts b/gui/electron/main/index.ts index acff710b7..ac371f1d0 100644 --- a/gui/electron/main/index.ts +++ b/gui/electron/main/index.ts @@ -413,7 +413,7 @@ const spawnServer = async () => { if (!javaBin) { dialog.showErrorBox( 'SlimeVR', - 'Unable to find a compatible Java version, please download Java 17 or higher' + 'Unable to find a compatible Java version, please download Java 25 or higher' ); app.quit(); return; diff --git a/gui/electron/main/paths.ts b/gui/electron/main/paths.ts index 065f5cada..d7fc432f9 100644 --- a/gui/electron/main/paths.ts +++ b/gui/electron/main/paths.ts @@ -104,7 +104,7 @@ export const findSystemJRE = async (sharedDir: string) => { resolve(version); }); }); - if (version && version >= 17) return path; + if (version && version >= 25) return path; } return null; };