ClarisoftTechnologies / codakidLauncherRelease

1 stars 0 forks source link

Mac: The Mac Launcher doesn't always install a working JDK 8. #41

Open CodaKidGit opened 2 years ago

CodaKidGit commented 2 years ago

The Mac Launcher doesn't always install a working JDK 8. Especially if there's a newer version of JDK installed such as JDK 11 or JDK 16.

  1. Install JDK 16 on a Mac.
  2. Install the Mac Launcher.
  3. Try to make a Minecraft project.
  4. It will fail to make a project.

Running the built in gradle command: "/usr/libexec/java_home -v 1.8.0_265" will return the latest version of JDK.

CodaKidGit commented 2 years ago

This issue still exists in some form. It can be triggered by having a mac with a built in JDK 8 301.

It should specifically be looking for the the AdoptOpenJDK 8 265 in the Library/Java/JavaVirtualMachines folder to ensure it has the correct JDK.

CodaKidGit commented 2 years ago

Update. The system information of a Mac that shows the issue: image

CodaKidGit commented 2 years ago

The Applet is called JavaAppletPlugin.plugin and is found in Internet Plug-Ins on some macs. Specifically it looks like it affects Big Sur Macs.