Skip to content

Add support for JDK version 24 #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
clin1234 opened this issue Aug 23, 2024 · 5 comments
Closed

Add support for JDK version 24 #602

clin1234 opened this issue Aug 23, 2024 · 5 comments
Assignees

Comments

@clin1234
Copy link

C:\Users\שזדס\scoop\apps\temurin-nightly-jdk\current\bin\java.exe -version
openjdk version "24-beta" 2025-03-18
OpenJDK Runtime Environment Temurin-24+11-202408151908 (build 24-beta+11-ea)
OpenJDK 64-Bit Server VM Temurin-24+11-202408151908 (build 24-beta+11-ea, mixed mode, sharing)
@thurka thurka marked this as a duplicate of #632 Mar 21, 2025
@thurka thurka self-assigned this Mar 23, 2025
@pmonks
Copy link

pmonks commented Mar 27, 2025

For anyone else encountering this error message, on OpenJDK 64-Bit Server VM Temurin-24+36 on macOS, I get the following error on startup:

WARNING: package com.sun.java.swing.plaf.gtk not in java.desktop
WARNING: package sun.awt.X11 not in java.desktop
Error occurred during initialization of VM
java.lang.Error: A command line option has attempted to allow or enable the Security Manager. Enabling a Security Manager is not supported.
	at java.lang.System.initPhase3(java.base@24/System.java:1947)

This works fine on OpenJDK 64-Bit Server VM Temurin-21.0.6+7 on macOS, so I assume it's something specific to JDK version 24.

@thurka thurka marked this as a duplicate of #633 Mar 28, 2025
thurka added a commit that referenced this issue Mar 29, 2025
thurka added a commit that referenced this issue Mar 29, 2025
@thurka
Copy link
Member

thurka commented Mar 29, 2025

Fixed in master.

@thurka thurka closed this as completed Mar 29, 2025
@kamalhm
Copy link

kamalhm commented Mar 31, 2025

hi @thurka thanks for this. any idea when this will be released? should i just compile from source?

@thurka
Copy link
Member

thurka commented Apr 2, 2025

The new version of VisualVM will be released in the near future. In the meatime, the easiest workaround is to run VisualVM on JDK 23 or older using --jdkhome option.

@thurka
Copy link
Member

thurka commented Apr 23, 2025

FYI: VisualVM 2.2 with JDK 24 support was released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants