Hi All,
I researched for hours and still no solution how to hide or remove the Java icon from appearing when running a Java based App on the mac..
There are several solutions proposed online none of which works for me I'm using JDK11.x on Catalina Mac OSX
The most common proposed solution is to set the system property apple.awt.UIElement=true
I've tried it via a VM argument as java -jar -Dapple.awt.UIElement=true javaname.jar (and alternativelyapple.awt.UIElement="true")
also
SetSystemProperty("apple.awt.UIElement", "true") in B4J at the beginning of AppStart and still the Java appears in the Dock.
Other suggestions to try apple.awt.headless=true or java.awt.headless=true with no luck.
Has anyone found a solution for this challenge?
More Info:
My App uses JavaFX components and it seems JavaFX currently doesnt support Dock Icon Less capability. Having said that is their a work around I can do in either B4J code or in the scripts calling the Jar to not have the Java Coffee icon appear in the dock alongside my running App Icon.
I researched for hours and still no solution how to hide or remove the Java icon from appearing when running a Java based App on the mac..
There are several solutions proposed online none of which works for me I'm using JDK11.x on Catalina Mac OSX
The most common proposed solution is to set the system property apple.awt.UIElement=true
I've tried it via a VM argument as java -jar -Dapple.awt.UIElement=true javaname.jar (and alternativelyapple.awt.UIElement="true")
also
SetSystemProperty("apple.awt.UIElement", "true") in B4J at the beginning of AppStart and still the Java appears in the Dock.
Other suggestions to try apple.awt.headless=true or java.awt.headless=true with no luck.
Has anyone found a solution for this challenge?
More Info:
My App uses JavaFX components and it seems JavaFX currently doesnt support Dock Icon Less capability. Having said that is their a work around I can do in either B4J code or in the scripts calling the Jar to not have the Java Coffee icon appear in the dock alongside my running App Icon.
Last edited: