Page 1 of 1

JDK Problem

Posted: Fri Feb 12, 2016 9:48 pm
by Lightworker
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. :(

Re: JDK Problem

Posted: Sat Feb 13, 2016 2:24 am
by PyTom
Why not set it to the JDK rather than the JRE?

Re: JDK Problem

Posted: Sat Feb 13, 2016 10:32 am
by Lightworker
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

Posted: Sat Feb 13, 2016 11:06 am
by AxemRed
The JDK contains a JRE. JAVA_HOME should point to the root folder of the JDK, not the embedded JRE.

Re: JDK Problem

Posted: Sat Feb 13, 2016 2:55 pm
by Lightworker
How do I go about doing that?

Re: JDK Problem

Posted: Fri Feb 19, 2016 7:45 pm
by Lightworker
I have no idea as to what I am doing *sniff*

Re: JDK Problem

Posted: Wed Mar 09, 2016 10:30 am
by Lightworker
Yep. Stull have no idea. Somebody please help!

Re: JDK Problem

Posted: Thu Mar 10, 2016 3:18 am
by PyTom
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.

Re: JDK Problem

Posted: Fri Mar 11, 2016 12:55 pm
by Lightworker
If I do that how will I use AS for the admob?
That's the key question here.

Re: JDK Problem

Posted: Fri Mar 11, 2016 1:30 pm
by PyTom
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.