I ran jdk_path.livecode shown below and it came up empty. I put some tags in the code and it was looking for c:\windows\sysnative\reg.exe - which it could not find on my computer
The error was: The system was unable to find the specified registry key or value.
JDK path is none
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: JDK path is none
Did you try to reinstall the JDK?
So this will probably write new entries into the registry.
Then select the android/sdk again in the LC preferences and see if it finds it then.
So this will probably write new entries into the registry.
Then select the android/sdk again in the LC preferences and see if it finds it then.
Re: JDK path is none
I was able to solve the problem with this script. But at first, he displayed only unrecognized symbols in response to the click. By creating the appropriate paths in the registry and exporting them to the file I generated a reg-file, in which changing the values of the variable and version can point the way for LiveCode to any JDK location. With JDK 16 unpacked on a non-system disk the program easily recognizes it. I'm attaching a reg-file.cusingerBUSCw5N wrote: ↑Tue Oct 24, 2017 5:44 pmThe error was: The system was unable to find the specified registry key or value.
- Attachments
-
- java_home.zip
- Compressed reg-file
- (349 Bytes) Downloaded 228 times
Re: JDK path is none
Hi, I'm new to this forum. I fought some days to solve the JDK Path none issue. The difficulties appeared when Oracle changed their policy to get JAVA for non commercial users. As a user without an account at Oracle, you get JDK only as a zipped file (named openJDK). After unpacking and storing it on a convenient place you have to setup the mentioned Windows registry entries. In former cases as you got JDK as an executable install file, the installation process itself performed the registry settings properly. For me it was not clear, that LiveCode always looks on registry to find the JDK. Before this knowledge I fought with Windows environment variable JAVA_HOME and never succeed . I think the importance for registry setting should be mentioned on LiveCode homepage.
Re: JDK path is none
Better yet if we can set a specific path to JDK folder in IDE settings (as it does on Linux).LCWilli wrote: ↑Wed Mar 24, 2021 6:10 pmHi, I'm new to this forum. I fought some days to solve the JDK Path none issue. The difficulties appeared when Oracle changed their policy to get JAVA for non commercial users. As a user without an account at Oracle, you get JDK only as a zipped file (named openJDK). After unpacking and storing it on a convenient place you have to setup the mentioned Windows registry entries. In former cases as you got JDK as an executable install file, the installation process itself performed the registry settings properly. For me it was not clear, that LiveCode always looks on registry to find the JDK. Before this knowledge I fought with Windows environment variable JAVA_HOME and never succeed . I think the importance for registry setting should be mentioned on LiveCode homepage.