Unable to load Java Runtime Environment on M1 iMac running Sonoma 14.4.1
My Java apps were working but were laggy in opening, so I installed the newest update for Java for Apple Silicon. Now I get the error message "Unable to load Java Runtime Environment". I get the following:
java -version
java version "1.8.0_411"
Java(TM) SE Runtime Environment (build 1.8.0_411-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.411-b09, mixed mode)
and for
javac -version
javac 1.8.0_411
The apps run fine in IntelliJ. They also run fine on my Intel MacBook Pro.
Any suggestions?
Thanks.
iMac (M1, 2021)