Git Product home page Git Product logo

Comments (13)

iki avatar iki commented on July 28, 2024

Installing 32bit jre-8u40-windows-i586.exe into C:\Java32 did not change anything.

I'm ready to help with testing further...

from leiningen-win-installer.

djpowell avatar djpowell commented on July 28, 2024

Hi,
I haven't tested with Windows 8, but I'm surprised that it doesn't work.
There should be a setup log file at: "%TEMP%\Setup Log yyyy-mm-dd #nnn.txt"

from leiningen-win-installer.

iki avatar iki commented on July 28, 2024

The log reads:

2015-03-25 20:43:50.673   Log opened. (Time zone: UTC+01:00)
2015-03-25 20:43:50.673   Setup version: Inno Setup version 5.5.4 (a)
2015-03-25 20:43:50.673   Original Setup EXE: D:\Downloads\dev.cl\leiningen-installer-1.0.exe
2015-03-25 20:43:50.673   Setup command line: /SL5="$770B4C,5716645,56832,D:\Downloads\dev.cl\leiningen-installer-1.0.exe" 
2015-03-25 20:43:50.674   Windows version: 6.2.9200  (NT platform: Yes)
2015-03-25 20:43:50.674   64-bit Windows: Yes
2015-03-25 20:43:50.674   Processor architecture: x64
2015-03-25 20:43:50.674   User privileges: None
2015-03-25 20:43:50.680   64-bit install mode: No
2015-03-25 20:43:50.693   Created temporary directory: C:\Users\iki\AppData\Local\Temp\is-TI6LC.tmp
2015-03-25 20:43:50.815   Message box (Yes/No):
                          An installed Java Development Kit could not be found automatically.

                          Ensure that you have downloaded and installed a JDK from:
                          http://www.oracle.com/technetwork/java/javase/overview/index.html

                          Continue the installation?
2015-03-25 20:43:51.795   User chose Yes.
2015-03-25 20:44:03.437   Exception message:
2015-03-25 20:44:03.438   Message box (OK):
                          Runtime Error (at 28:617):

                          Out Of Range.
2015-03-25 20:44:05.150   User chose OK.
2015-03-25 20:44:06.435   Message box (Yes/No):
                          Setup is not complete. If you exit now, the program will not be installed.

                          You may run Setup again at another time to complete the installation.

                          Exit Setup?
2015-03-25 20:44:07.852   User chose Yes.
2015-03-25 20:44:07.852   Deinitializing Setup.
2015-03-25 20:44:07.884   Log closed.

from leiningen-win-installer.

iki avatar iki commented on July 28, 2024

Basically, there are 2 issues:

  1. neither installed jre8 64bit, nor 32bit is detected
  2. when there's no jre detected, installer fails on selecting to specify the path manually (that one could manifest on any platform, try to uninstall your jre)

from leiningen-win-installer.

djpowell avatar djpowell commented on July 28, 2024

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?

from leiningen-win-installer.

gimbiss avatar gimbiss commented on July 28, 2024

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.
I am new to all this including Java.
But it seems that this is a known problem from previously reported issues, I just can't figure out if it was suppossed to be fixed or not.

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:

javajdkfolders

Setup Log 2018-03-28 #005.txt

from leiningen-win-installer.

gimbiss avatar gimbiss commented on July 28, 2024

I installed jdk 8 161 and the leiningen win installer ran to completion.
One onion layer down and ? to go.

from leiningen-win-installer.

JBeckintosh avatar JBeckintosh commented on July 28, 2024

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

from leiningen-win-installer.

djpowell avatar djpowell commented on July 28, 2024

from leiningen-win-installer.

gimbiss avatar gimbiss commented on July 28, 2024

from leiningen-win-installer.

gimbiss avatar gimbiss commented on July 28, 2024

from leiningen-win-installer.

rafael-atias avatar rafael-atias commented on July 28, 2024

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.

Do you mean this thread?

I am having the same issue, but right now I cannot post the content of the log file

from leiningen-win-installer.

simmranvermaa avatar simmranvermaa commented on July 28, 2024

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?

from leiningen-win-installer.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.