-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime Error when selecting Custom location for JDK path #2
Comments
Installing 32bit jre-8u40-windows-i586.exe into I'm ready to help with testing further... |
Hi, |
The log reads:
|
Basically, there are 2 issues:
|
Ah, I think the problem is that you are using a JRE. The installer is expecting a full JDK to be installed as a pre-requisite. I'm not sure how well Leiningen works with just a JRE - I'd imagine it at least wouldn't be able to compile Java source code in projects. The error message if you try to manually point to a JRE should be better though. Does that sound ok? Could you try it again with a full JDK installed? |
I just had this problem running leiningen win-installer on Windows 10 with the full jdk-9.0.4 installed in the standard location (C:\Program Files\Java, I don't have any other versions of the Java SDK installed on my machine) . Went to bitbucket as per response to another issue with leiningen win installer but could not find where to see or report issues ? I am trying to get a clojure dev environment running on my machine. My only choice right now is to roll back to the latest version of JDK 8 and see if it resovles the issue. I would appreciate some clarity though. I am attching a picture of my Java JDK folders and the installer log file as per instructions above: |
I installed jdk 8 161 and the leiningen win installer ran to completion. |
I tried some different JDK's, and here's what I found. Based on this, either the version of the jdk or the _bin jdk type should be what is preventing lein from finding a JDK to use for installing |
Hi thanks,
I've not really touched the installer for a while (I wrote it when
Powershell wasn't so common on windows, to try and reduce the install
steps).
I wouldn't have tested it since jdk 8, so it is likely that it needs some
modifications to find jdk9 and 10 in the registry. I'll try and take a
look in the next week or so, but if you have any ideas or patches, that'ld
be cool too.
…On Thu, Apr 5, 2018 at 12:35 AM, Beckintosh ***@***.***> wrote:
I tried some different JDK's, and here's what I found.
-> jdk-8u161-windows-x64 is something that the lein installer is able to
find
-> jdk-9.0.4_windows-x64_bin is not something that the lein installer can
find
-> jdk-10_windows-x64_bin is not something that the lein installer can find
Based on this, either the version of the jdk or the _bin jdk type should
be what is preventing lein from finding a JDK to use for installing
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIm0_Wl4BaUVLfnshUUZd_dM4f6zKWIks5tlVjDgaJpZM4D0wlb>
.
|
Thanks, by installing jdk-8u161-windows-x64 in addition to
jdk-9.0.4_windows-x64_bin
that was already installed on my machine, the installer ran to completion.
Still had a problem with a security setting to get the install to work
properly.
Now I am clojuring away.
…On Thu, Apr 5, 2018 at 2:35 AM, Beckintosh ***@***.***> wrote:
I tried some different JDK's, and here's what I found.
-> jdk-8u161-windows-x64 is something that the lein installer is able to
find
-> jdk-9.0.4_windows-x64_bin is not something that the lein installer can
find
-> jdk-10_windows-x64_bin is not something that the lein installer can find
Based on this, either the version of the jdk or the _bin jdk type should
be what is preventing lein from finding a JDK to use for installing
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkHYo70Bh2Tk-kpP2xbAgxN7ewj7fiGvks5tlVjDgaJpZM4D0wlb>
.
|
Thanks, while looking around I saw a response (I think it was on
StackOverflow) that drilled down and explained what the root of the problem
is, but I can't find it now.
If I do I'll post the link.
On Thu, Apr 5, 2018 at 1:54 PM, David Powell <[email protected]>
wrote:
… Hi thanks,
I've not really touched the installer for a while (I wrote it when
Powershell wasn't so common on windows, to try and reduce the install
steps).
I wouldn't have tested it since jdk 8, so it is likely that it needs some
modifications to find jdk9 and 10 in the registry. I'll try and take a
look in the next week or so, but if you have any ideas or patches, that'ld
be cool too.
On Thu, Apr 5, 2018 at 12:35 AM, Beckintosh ***@***.***>
wrote:
> I tried some different JDK's, and here's what I found.
> -> jdk-8u161-windows-x64 is something that the lein installer is able to
> find
> -> jdk-9.0.4_windows-x64_bin is not something that the lein installer can
> find
> -> jdk-10_windows-x64_bin is not something that the lein installer can
find
>
> Based on this, either the version of the jdk or the _bin jdk type should
> be what is preventing lein from finding a JDK to use for installing
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/djpowell/leiningen-win-installer/
issues/2#issuecomment-378777593>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-
auth/AAIm0_Wl4BaUVLfnshUUZd_dM4f6zKWIks5tlVjDgaJpZM4D0wlb>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkHYozdE7qMRp8rYfnzRJIAm3FrAS4fSks5tlffpgaJpZM4D0wlb>
.
|
Do you mean this thread? I am having the same issue, but right now I cannot post the content of the log file |
I am trying to install lein and it keeps running into Runtime Error (at 28:617): Out Of Range while setting the custom location. Using: jdk-13.0.2_windows-x64_bin.exe. Is this issue resolved? |
On Win8 x64 with jre-8u40-windows-x64.exe installed in
C:\Java
, the installer does not find JDK path.Later, it asks for JDK path with radio selector, and offers a single
Custom location
choice. After selecting, it reportsRuntime Error (at 28:617): Out Of Range.
The text was updated successfully, but these errors were encountered: