Skip to content

netbeans 24 will not start on java 24-ea due to security manager permanently disabled. #8008

@homberghp

Description

@homberghp

Apache NetBeans version

Apache NetBeans 24 release candidate

What happened

Setting JAVA_HOME to java 24 (ea-25) make the netbeans startup (using the commandline) exit prematurely with the following message

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-ea/System.java:2070)

Language / Project Type / NetBeans Component

netbeans startup

How to reproduce

Freshly install netbeans 24 rc 4 from zip to a dir, /usr/local/netbeans-24-rc4 in my case.
On linux then do : export JAVA_HOME=/usr/lib/jvm/jdk-24; /usr/local/netbeans-24-rc4/bin/netbeans

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux Ubuntu 24.04 LTS

JDK

OpenJDK 64-Bit Server VM (build 24-ea+25-3155, mixed mode, sharing)

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

always on java 24

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugBug report or fixneeds:discussionRequires discussion on the NetBeans dev mailing list

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions