Opening app on macOS 11 Big Sur from JavaFX application randomly fails with kLSNoExecutableErr

We have a desktop JavaFX application (well, TornadoFX) that downloads an archive, extracts another app from it and launches this app with macOS open command. Simplified kotlin code looks like: …

Malware on Java update for mac os x [closed]

I am working on a mac os x computer. I was asked by a Java automatic update. I have answered to remind me later this update. And Safari opened this url: prefmgr-cookie.truste-svc.net Do you think it …

Any workaround for Java/Swing bug under Mac OS when opening new windows as tabs

I’m developing a swing based Java application (Java 8) for Mac and Windows. Some users have set the mac system preference under “General” “Prefer Tabs when opening documents” to &…

How to get macOS Mojave Style Dark Mode in Java in a Swing Application?

I want to know if there is some way to get macOS Mojave style Dark Mode in a swing application in Java? I want to get macOS Mojave Style Dark Mode on a JFrame in a Java Swing Application. Please let …

Mac OS and java.lang.NullPointerException at java.awt.Window.init(Window.java:497)

I’ve been setting up a 2018 MacBook Pro for Java development. It’s running Mojave 10.14.1 – just like the older machine I’m migrating from, an early 2013 MacBook Pro. I installed Java 1.8.0_192 and …

Mac host doesn’t like Docker container port forwarding

I am experimenting with Docker for the first time, and am trying to get a Spring Boot web app to run inside a Docker container. I am building the app (which packages up into a self-contained jar) and …

Mac OS X and multiple Java versions

How can I install an additional java on MacOS? I installed jdk8 and that works fine. but now I need a jdk7 installation for development purposes. When trying to install the old version via DMG file, …

Where is Java Installed on Mac OS X?

I just downloaded Java 7u17 on Mac OS 10.7.5 from here and then successfully installed it. In order to do some JNI programming, I need to know where Java installed on my Mac. I thought that inside …

How do I move my JMenuBar to the screen menu bar on Mac OS X?

When I move my JMenuBar to the screen menu bar on Mac OS X, it leaves some blank space where the menu would be in my window; I need to remove that space. I am using System.setProperty(“apple.laf….