ClarisoftTechnologies / codakidLauncherRelease

1 stars 0 forks source link

Windows: Project Manager fails to build project if JRE is set as Java_Home #31

Closed CodaKidGit closed 3 years ago

CodaKidGit commented 3 years ago

Due to the project building process requiring compilation, it needs to have a JDK set as the Java_Home. Ideally, it shouldn't be getting its JDK from the JAVA_HOME at all. It's not very reliable. Perhaps it could pass in the JDK as a parameter like the old project manager did.

Steps to reproduce:

  1. Install a version of JRE 8
  2. Install the project manager.
  3. Go to the Minecraft screen. It will see the JRE and think it has the Java dependency it needs.
  4. Install Eclipse.
  5. Make a project.
  6. Project creation will fail since there's no JDK, only a JRE.
CodaKidGit commented 3 years ago

This bug is still happening.

Is it possible to try installing AdoptOpenJDK via a Zip file(therefore getting around the check it does for new versions), and then have the Eclipse and Gradle hardcoded to use a specific version of JDK?