JDK Problem
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.
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.
-
- Regular
- Posts: 104
- Joined: Sun Dec 13, 2015 2:06 pm
- Projects: Detroit.exe
- Discord: Happiness+#1168
- Contact:
JDK Problem
I came up with something from my last post. I just moved all my files and code to another computer. However, I have a strange problem; I cannot build the android project. Ren'Py looks for javac at $JAVA_HOME/bin/javac if JAVA_HOME is set. Nevertheless, my JAVA_HOME is set to JAVA\jdk1.8.0_51\jre for Andriod Studio.
How should I do this?
I feel like if I touch with that JAVA_HOME then Android Studio won't work anymore and I won't put ads on my Visual Novel if I wanted to.
Someone, anyone, HELP ME.
How should I do this?
I feel like if I touch with that JAVA_HOME then Android Studio won't work anymore and I won't put ads on my Visual Novel if I wanted to.
Someone, anyone, HELP ME.
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: JDK Problem
Why not set it to the JDK rather than the JRE?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 104
- Joined: Sun Dec 13, 2015 2:06 pm
- Projects: Detroit.exe
- Discord: Happiness+#1168
- Contact:
Re: JDK Problem
It says JRE, but that's really the JDK. That makes AS work, it seems that Ren'Py does not know that. I even installed a newer JDK, Early Access version, and see if I could get this to work before I made this post. No success.
Re: JDK Problem
The JDK contains a JRE. JAVA_HOME should point to the root folder of the JDK, not the embedded JRE.
-
- Regular
- Posts: 104
- Joined: Sun Dec 13, 2015 2:06 pm
- Projects: Detroit.exe
- Discord: Happiness+#1168
- Contact:
-
- Regular
- Posts: 104
- Joined: Sun Dec 13, 2015 2:06 pm
- Projects: Detroit.exe
- Discord: Happiness+#1168
- Contact:
-
- Regular
- Posts: 104
- Joined: Sun Dec 13, 2015 2:06 pm
- Projects: Detroit.exe
- Discord: Happiness+#1168
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: JDK Problem
Can't you just go into your computer's settings and remove JAVA_HOME from the environment? I think the solution has been here for a while, but you do have to administer your computer.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Regular
- Posts: 104
- Joined: Sun Dec 13, 2015 2:06 pm
- Projects: Detroit.exe
- Discord: Happiness+#1168
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 16093
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: JDK Problem
I don't support the use of admod with Ren'Py at this time. So if you need to use it, you need to solve the problems it causes.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot], simple_human, Toma