RenPy Not Recognizing JDK...
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.
- VAPMichaelaLaws
- Regular
- Posts: 196
- Joined: Mon Dec 10, 2012 2:11 am
- Completed: Check Signature!
- Projects: Check Signature!
- Organization: Seraphim Entertainment
- Tumblr: thebunnyofevil
- Contact:
RenPy Not Recognizing JDK...
Hello!
So I've been at this for months now, but for some reason, even as I update Ren'Py (both in the program AND in downloading the new and latest 7.1.3 exe), redownload the JDK (x64) multiple times, redownload the latest RAPT file to make sure I'm covered... Ren'Py is not recognizing that I have the JDK installed.
What is going on? I've done Android builds before so this shouldn't be an issue, and yet when I attempt to make an Android build, all options to do so are greyed out/unaccessible, as if Ren'Py doesn't know where the heck the JDK is despite having known before. I have builds of Seduce Me up on Google Play and Amazon which need updating FAST because apparently the keyboard is breaking the game, but I can't do anything if I can't even build Android builds anymore.
What am I missing????
So I've been at this for months now, but for some reason, even as I update Ren'Py (both in the program AND in downloading the new and latest 7.1.3 exe), redownload the JDK (x64) multiple times, redownload the latest RAPT file to make sure I'm covered... Ren'Py is not recognizing that I have the JDK installed.
What is going on? I've done Android builds before so this shouldn't be an issue, and yet when I attempt to make an Android build, all options to do so are greyed out/unaccessible, as if Ren'Py doesn't know where the heck the JDK is despite having known before. I have builds of Seduce Me up on Google Play and Amazon which need updating FAST because apparently the keyboard is breaking the game, but I can't do anything if I can't even build Android builds anymore.
What am I missing????
Voice Actress | Singer | Writer | Producer | Director
http://www.michaelaamandalaws.com/
--------
Completed Projects: My Teacher (NaNoReno2013), Pizz'Amore, My Lady, Our School Love (Otome Audio CD), Our Honeymoon (Otome Audio CD), Seduce Me, Maid With Perfection (NaNoReno2015), Blind Love (ILUjam 2015), Love And Romance: A Study Of Intimacy, Seduce Me 2: The Demon War, Remember, Remember
Projects Still In Production: All For You
http://www.michaelaamandalaws.com/
--------
Completed Projects: My Teacher (NaNoReno2013), Pizz'Amore, My Lady, Our School Love (Otome Audio CD), Our Honeymoon (Otome Audio CD), Seduce Me, Maid With Perfection (NaNoReno2015), Blind Love (ILUjam 2015), Love And Romance: A Study Of Intimacy, Seduce Me 2: The Demon War, Remember, Remember
Projects Still In Production: All For You
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: RenPy Not Recognizing JDK...
Are you sure it 's the 64-bit JDK? Until this release, Ren'Py required the 32-bit JDK. (Also, make sure it's not 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
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: RenPy Not Recognizing JDK...
Also check the folder is in your environment path...
On windows:
Press [windows button] + R
Type SystemPropertiesAdvanced
(or taskbar Search icon, type env, find the one that says Edit Environment Variables)
Click Environment Variables
Check the one called $Path includes the jdk bin folder (e.g. C:\Program Files\Java\jdk1.8.0\bin)
On windows:
Press [windows button] + R
Type SystemPropertiesAdvanced
(or taskbar Search icon, type env, find the one that says Edit Environment Variables)
Click Environment Variables
Check the one called $Path includes the jdk bin folder (e.g. C:\Program Files\Java\jdk1.8.0\bin)
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- VAPMichaelaLaws
- Regular
- Posts: 196
- Joined: Mon Dec 10, 2012 2:11 am
- Completed: Check Signature!
- Projects: Check Signature!
- Organization: Seraphim Entertainment
- Tumblr: thebunnyofevil
- Contact:
Re: RenPy Not Recognizing JDK...
When I updated Ren'Py when I still had the x32 bit JDK, the program literally greyed out everything as if it no longer recognized it. So when I updated and downloaded the x64, I expected it to reroute, but it still won't recognize. I am confused to which it needs now and how to make Ren'Py re-recognize that I have the JDK ( I have double verified that it is the JDK not the JRE)
I have it set to the latest I have (C:\Program Files\Java\jdk1.8.0_201\bin) and Ren'Py STILL will not recognize it.Remix wrote: ↑Fri Jan 18, 2019 6:10 am Also check the folder is in your environment path...
On windows:
Press [windows button] + R
Type SystemPropertiesAdvanced
(or taskbar Search icon, type env, find the one that says Edit Environment Variables)
Click Environment Variables
Check the one called $Path includes the jdk bin folder (e.g. C:\Program Files\Java\jdk1.8.0\bin)
Voice Actress | Singer | Writer | Producer | Director
http://www.michaelaamandalaws.com/
--------
Completed Projects: My Teacher (NaNoReno2013), Pizz'Amore, My Lady, Our School Love (Otome Audio CD), Our Honeymoon (Otome Audio CD), Seduce Me, Maid With Perfection (NaNoReno2015), Blind Love (ILUjam 2015), Love And Romance: A Study Of Intimacy, Seduce Me 2: The Demon War, Remember, Remember
Projects Still In Production: All For You
http://www.michaelaamandalaws.com/
--------
Completed Projects: My Teacher (NaNoReno2013), Pizz'Amore, My Lady, Our School Love (Otome Audio CD), Our Honeymoon (Otome Audio CD), Seduce Me, Maid With Perfection (NaNoReno2015), Blind Love (ILUjam 2015), Love And Romance: A Study Of Intimacy, Seduce Me 2: The Demon War, Remember, Remember
Projects Still In Production: All For You
- Triority
- Regular
- Posts: 185
- Joined: Fri Jul 20, 2018 1:28 pm
- Completed: Welcome To... Chichester 0, 1,2 OVN 1, OVN 2, OVN 3, No Regrets For The Future
- Projects: Welcome To... Chichester series
- Organization: Triority
- Tumblr: Sku-te
- itch: triority
- Location: England
- Discord: sku_te
- Contact:
Re: RenPy Not Recognizing JDK...
I'm having the same problem but mines a bit worse - the Install SDK button comes up with :
When pressed for some reason
My Java version :
C:\Users\njk98>java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/android.rpy", line 462, in <module>
File "game/mobilebuild.rpy", line 197, in call
WindowsError: [Error 2] The system cannot find the file specified
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpyc", line 460, in script
File "C:\RenPy\renpy-7.1.3-sdk\renpy\ast.py", line 881, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\RenPy\renpy-7.1.3-sdk\renpy\python.py", line 1913, in py_exec_bytecode
exec bytecode in globals, locals
File "game/android.rpy", line 462, in <module>
File "C:\RenPy\renpy-7.1.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 234, in install_sdk
check_java(interface)
File "C:\RenPy\renpy-7.1.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 47, in check_java
if not run_slow(interface, plat.javac, plat.path("buildlib/CheckJDK8.java"), use_path=True):
File "C:\RenPy\renpy-7.1.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 35, in run_slow
interface.call(args, cancel=True, **kwargs)
File "game/mobilebuild.rpy", line 197, in call
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 710, in __init__
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 958, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
Windows-8-6.2.9200
Ren'Py 7.1.3.1092
Ren'Py Launcher 7.1.3.1092
Sat Jan 19 00:05:30 2019
When pressed for some reason
My Java version :
C:\Users\njk98>java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: RenPy Not Recognizing JDK...
@VAPMichaelaLaws
What version of Ren'Py are you running?
If you have (semi recently) updated, I would advise:
Find the RAPT folder and delete it (maybe copy/save it elsewhere for safe keeping)
Start the Build Android Distribution thing again and let Ren'Py lead the way...
7.1.13 afaik needs fully up to date RAPT
@Triority (aka thread-jacker )
What version of Ren'Py?
Have you updated RAPT?
If 7.1.13 or after, are you using Java JDK (not JRE) 64 bit version 8 with it set on system $path ?
What version of Ren'Py are you running?
If you have (semi recently) updated, I would advise:
Find the RAPT folder and delete it (maybe copy/save it elsewhere for safe keeping)
Start the Build Android Distribution thing again and let Ren'Py lead the way...
7.1.13 afaik needs fully up to date RAPT
@Triority (aka thread-jacker )
What version of Ren'Py?
Have you updated RAPT?
If 7.1.13 or after, are you using Java JDK (not JRE) 64 bit version 8 with it set on system $path ?
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- Triority
- Regular
- Posts: 185
- Joined: Fri Jul 20, 2018 1:28 pm
- Completed: Welcome To... Chichester 0, 1,2 OVN 1, OVN 2, OVN 3, No Regrets For The Future
- Projects: Welcome To... Chichester series
- Organization: Triority
- Tumblr: Sku-te
- itch: triority
- Location: England
- Discord: sku_te
- Contact:
Re: RenPy Not Recognizing JDK...
Yes, using the latest version of Ren'Py (and it's in PATH). RAPT was downloaded automatically
Path is PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_201\bin;C:\Users\njk98\AppData\Local\Microsoft\WindowsApps;
Path is PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_201\bin;C:\Users\njk98\AppData\Local\Microsoft\WindowsApps;
- Triority
- Regular
- Posts: 185
- Joined: Fri Jul 20, 2018 1:28 pm
- Completed: Welcome To... Chichester 0, 1,2 OVN 1, OVN 2, OVN 3, No Regrets For The Future
- Projects: Welcome To... Chichester series
- Organization: Triority
- Tumblr: Sku-te
- itch: triority
- Location: England
- Discord: sku_te
- Contact:
Re: RenPy Not Recognizing JDK...
It also fails on a machine that has never had JDK (or Ren'Py) installed on it - some part of the download process of the JDK that Ren'Py initiates fails for some reason (even though Ren'Py states otherwise), and the rest of the options aren't available.
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: RenPy Not Recognizing JDK...
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- Triority
- Regular
- Posts: 185
- Joined: Fri Jul 20, 2018 1:28 pm
- Completed: Welcome To... Chichester 0, 1,2 OVN 1, OVN 2, OVN 3, No Regrets For The Future
- Projects: Welcome To... Chichester series
- Organization: Triority
- Tumblr: Sku-te
- itch: triority
- Location: England
- Discord: sku_te
- Contact:
Re: RenPy Not Recognizing JDK...
Unfortunately not - the problem occurs somewhere before that, although it may work on the other machine
Who is online
Users browsing this forum: Bing [Bot]