Skip to content
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

Error when installing 9.1.16.0 on Windows 10 (64 Bit) #5084

Closed
bolandross opened this issue Mar 11, 2018 · 6 comments
Closed

Error when installing 9.1.16.0 on Windows 10 (64 Bit) #5084

bolandross opened this issue Mar 11, 2018 · 6 comments

Comments

@bolandross
Copy link

Hey Folks,

when trying to install JRuby on my Windows machine, I'm getting an error message.

I am using JRE 9.0.4

Do you have an idea what might be the problem?

message

@headius
Copy link
Member

headius commented Mar 15, 2018

Can you provide the error log? This is some issue inside the installer we use (Install4J) but this isn't enough information.

@headius headius added this to the JRuby 9.1.17.0 milestone Mar 15, 2018
@bolandross
Copy link
Author

Yeah, I attached the logfile. It was produced by the jruby_windows_x64_9_1_16_0.exe file.
install4jError11964220859875075325.log

@headius
Copy link
Member

headius commented Mar 15, 2018

Ok, I suspect this is a problem with install4j (perhaps just the version we used) incompatibility with Java 9.

JRuby is also a little iffy on Java 9 still (we're working on it) so you may want to run with Java 8 for now. Try that and let us know if it installs. We'll still get this fixed, but at least you'll be up and running.

Alternatively, just use Java 8 for the install by passing flag to the installer to make it use a Java 8 runtime. Then you can still run JRuby on 9 if you wish.

@headius
Copy link
Member

headius commented Mar 15, 2018

I just discovered this in the Install4J change logs: https://www.ej-technologies.com/download/install4j/changelog.html

So apparently they just got a version out a couple months ago that works on Java 9.

@headius
Copy link
Member

headius commented Mar 15, 2018

@enebo We will need to update Install4J to be able to install with Java 9.

@enebo
Copy link
Member

enebo commented Mar 16, 2018

I applied for OSS license for current version. We shall see how that goes. The version we have been using which we had an OSS license for was very old (it only applied for a single version of install4j). That license came from codehaus itself so I am not sure how that all worked :|

enebo added a commit that referenced this issue Apr 10, 2018
First attempt at using newest install4j.  This version we got an updated OSS
license for and it works with Java 9+.  After install4j updated our old file
nearly everything works except that media type changed to 'windows' from
'win32'.  This also changed the platform variable name so that had to be
tweaked.  I did a mock release and put ONLY java 9 on a windows machine and it
installs.  Huzzah
@enebo enebo closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants