[Solved] Renpy not recognizing JDK

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Karmadon
Newbie
Posts: 3
Joined: Thu Feb 07, 2019 3:18 am
Contact:

[Solved] Renpy not recognizing JDK

#1 Post by Karmadon » Thu Feb 07, 2019 3:32 am

Preemptive announcement: Before making this post I have went through any post here and on the web that deals with Renpy not recognizing the JDK, and I still cannot figure this out. I would greatly appreciate any assistance.

The problem:
All buttons when trying to build an Android port via Renpy are grayed out, and the immortal message of "A 64-bit Java 8 Development Kit is required..." is displayed.

Things I have tried:
0. Checking my Renpy is the latest stable release - it sure is.
1. Installing the Java 8 64-bit Development Kit. Installs silently for some reason, but does install, and is recognized when I try to run the Java uninstalling tool.
2. Adding said JDK bin folder to PATH - both user and system.
3. Verify JDK is installed and PATHed by running "javac" in CMD.
4. Adding javapath to PATH instead.
5. Installing the 32-bit version instead (which doesn't install silently), adding that to PATH.
6. Installing the latest JDK, Java 11, and adding that to PATH instead.

What else could I be missing?
Please and thanks!
Last edited by Karmadon on Thu Feb 07, 2019 5:18 pm, edited 1 time in total.

rames44
Veteran
Posts: 232
Joined: Sun May 29, 2016 4:38 pm
Contact:

Re: Renpy not recognizing JDK

#2 Post by rames44 » Thu Feb 07, 2019 12:58 pm

Just a guess, - in addition to have put the java bin directiory in the path, is JAVA_HOME set to the root of the Java install?

Karmadon
Newbie
Posts: 3
Joined: Thu Feb 07, 2019 3:18 am
Contact:

Re: Renpy not recognizing JDK

#3 Post by Karmadon » Thu Feb 07, 2019 5:18 pm

rames44 wrote:
Thu Feb 07, 2019 12:58 pm
Just a guess, - in addition to have put the java bin directiory in the path, is JAVA_HOME set to the root of the Java install?
Solved! There was no such variable to begin with, but adding that with the Java path to system variables solved the issue.
Thanks so much!

rames44
Veteran
Posts: 232
Joined: Sun May 29, 2016 4:38 pm
Contact:

Re: [Solved] Renpy not recognizing JDK

#4 Post by rames44 » Fri Feb 08, 2019 12:29 pm

The JAVA_HOME variable is used by a LOT of stuff to see if Java is installed (and to find it) but for some reason the installers don’t tend to set it. Never understood that, because it’s part of the Oracle documentation, as opposed to having been made up by the community or some such.

Glad you’re up and operating.

Post Reply

Who is online

Users browsing this forum: No registered users