sql-workbench/workbench
12
33
Fork
You've already forked workbench
18

sqlwbconsole.cmd: java.lang.NoClassDefFoundError: sun/misc/SignalHandler #103

Closed
opened 2026年02月05日 10:26:03 +01:00 by schuchmann · 2 comments

Hi,
I downloaded SQLWorkbenchJ 132 under Windows.
Executed download_jre.cmd and tried to run

c:\Workbench-Build132>sqlwbconsole.cmd
Fehler: Hauptklasse workbench.console.SQLConsole konnte nicht gefunden oder geladen werden
Ursache: java.lang.NoClassDefFoundError: sun/misc/SignalHandler

Java Version is:

c:\Workbench-Build132>.\jre\bin\java.exe --version
openjdk 21.0.6 2025年01月21日 LTS
OpenJDK Runtime Environment Temurin-21.0.6+7 (build 21.0.6+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.6+7 (build 21.0.6+7-LTS, mixed mode)

Anyone an idea?

(The GUI Version works)

Hi, I downloaded SQLWorkbenchJ 132 under Windows. Executed download_jre.cmd and tried to run ``` c:\Workbench-Build132>sqlwbconsole.cmd Fehler: Hauptklasse workbench.console.SQLConsole konnte nicht gefunden oder geladen werden Ursache: java.lang.NoClassDefFoundError: sun/misc/SignalHandler ``` Java Version is: ``` c:\Workbench-Build132>.\jre\bin\java.exe --version openjdk 21.0.6 2025年01月21日 LTS OpenJDK Runtime Environment Temurin-21.0.6+7 (build 21.0.6+7-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.6+7 (build 21.0.6+7-LTS, mixed mode) ``` Anyone an idea? (The GUI Version works)

I do have an idea :)

This is a customized JRE, and when building it, I simply forgot to include the modules that are needed for the console version.

I will upload a new Windows JRE soon, until then I can only suggest the workaround to download a JRE manually from e.g.

https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.9%2B10/OpenJDK21U-jre_x64_windows_hotspot_21.0.9_10.zip

I do have an idea :) This is a customized JRE, and when building it, I simply forgot to include the modules that are needed for the console version. I will upload a new Windows JRE soon, until then I can only suggest the workaround to download a JRE manually from e.g. https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.9%2B10/OpenJDK21U-jre_x64_windows_hotspot_21.0.9_10.zip
Thanks, with [OpenJDK21U-jre_x64_windows_hotspot_21.0.9_10.zip](https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.9%2B10/OpenJDK21U-jre_x64_windows_hotspot_21.0.9_10.zip) it works!
Sign in to join this conversation.
No Branch/Tag specified
master
build133
build132
build131
build130
build129
build128
build126
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sql-workbench/workbench#103
Reference in a new issue
sql-workbench/workbench
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?