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

Unrecognized VM option 'UseParNewGC' #907

Closed
igorb opened this issue May 15, 2018 · 4 comments · Fixed by #938
Closed

Unrecognized VM option 'UseParNewGC' #907

igorb opened this issue May 15, 2018 · 4 comments · Fixed by #938

Comments

@igorb
Copy link

igorb commented May 15, 2018

➜ rake sunspot:solr:run

Starting Solr on port 8982 from /Users/igorbilan/.rvm/gems/ruby-2.2.4/gems/sunspot_solr-2.3.0/solr/server

Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

@serggl
Copy link
Collaborator

serggl commented May 16, 2018

@igorb do you want to be a volunteer and fix bash scripts fo exclude this deprecated ENV value? https://github.com/sunspot/sunspot/search?utf8=✓&q=GC_TUNE

@brutuscat
Copy link
Contributor

@serggl yes please do!

@dportalesr
Copy link

What's up with this?

I'm using Java 8 (supposedly) but I'm getting the same message as @igorb about deprecated options in Java 9.

@alexandrubeu
Copy link

Any updates on this thread? I just installed ubuntu 19.04 and unfortunately I can not install java8 which means that I can not use this package. Can you please update?

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

Successfully merging a pull request may close this issue.

5 participants