Installing Java/JRE on Fedora 29 - Error Conflicting Requests
-
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
Thanks. I did some research and found that elasticsearch needs at least java 8. JB suggested using dnf install java. It contained version 11 jdk. I have done that and am trying to complete the reset of the wazuh installation.
I've stuck with OpenJRE/OpenJDK when needed. Oracle never seems to get their installer right on linux.
-
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@dbeato Thanks. I did some research and found that elasticsearch needs at least java 8. JB suggested using dnf install java. It contained version 11 jdk. I have done that and am trying to complete the reset of the wazuh installation.
Makes sense, latest version.
-
@travisdh1 said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
Thanks. I did some research and found that elasticsearch needs at least java 8. JB suggested using dnf install java. It contained version 11 jdk. I have done that and am trying to complete the reset of the wazuh installation.
I've stuck with OpenJRE/OpenJDK when needed. Oracle never seems to get their installer right on linux.
that's what I generally do, too.
-
Logstash doesn't like Java 11
Running scriptlet: logstash-1:6.6.1-1.noarch 1/1 Using provided startup.options file: /etc/logstash/startup.options Unrecognized VM option 'UseParNewGC' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Unable to install system startup script for Logstash. chmod: cannot access '/etc/default/logstash': No such file or directory warning: %post(logstash-1:6.6.1-1.noarch) scriptlet failed, exit status 1 Error in POSTIN scriptlet in rpm package logstash Verifying : logstash-1:6.6.1-1.noarch 1/1 Installed: logstash-1:6.6.1-1.noarch
-
It looks like logstash is using an option that no longer exists in java, "UseParNewGC"
https://bugs.openjdk.java.net/browse/JDK-8151084Argh.
-
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
-
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
-
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
Logstash doesn't like Java 11
NVM, just found this.
-
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for? -
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?I'd assume that is what Oracle says to use for Fedora.
-
@travisdh1 said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?I'd assume that is what Oracle says to use for Fedora.
That would just mean that Oracle's docs are out of date.
-
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@travisdh1 said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?I'd assume that is what Oracle says to use for Fedora.
That would just mean that Oracle's docs are out of date.
They always are.
-
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.
-
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.
Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.
If you are using Fedora, you use
dnf
period. Yes, currently Fedora still has a reroute/alias for it todnf
, but you should not assume it will be there. -
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
If you are using Fedora, you use dnf period. Yes, currently Fedora still has a reroute/alias for it to dnf, but you should not assume it will be there.
Yep, yum will be retired when Fedora 31 or sooner. It was going to happen with Fedora 29 release.
https://fedoraproject.org/wiki/Changes/Retire_YUM_3 -
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.
Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.
If you are using Fedora, you use
dnf
period. Yes, currently Fedora still has a reroute/alias for it todnf
, but you should not assume it will be there.#chilloutbro You can leave off the first part of that sentence and still provide a constructive answer.
-
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.
Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.
If you are using Fedora, you use
dnf
period. Yes, currently Fedora still has a reroute/alias for it todnf
, but you should not assume it will be there.#chilloutbro You can leave off the first part of that sentence and still provide a constructive answer.
You need to think, and you, clearly, are not. So yeah, perfectly fitting.
-
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@JaredBusch said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@scottalanmiller said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
@wrx7m said in Installing Java/JRE on Fedora 29 - Error Conflicting Requests:
OK. I found I could run
yum install java-1.8.0-openjdk
to install version 8. After that, I was able to install logstash successfully.
Is there a reason that you want an old version?
Also wtf are you using
yum
for?It's wazuh's documentation. They have specific repos for other things too. Not sure why they are still using yum instead of dnf.
Pull your head out of your ass and don't blindly type what any guide says. Even one of mine.
If you are using Fedora, you use
dnf
period. Yes, currently Fedora still has a reroute/alias for it todnf
, but you should not assume it will be there.#chilloutbro You can leave off the first part of that sentence and still provide a constructive answer.
You need to think, and you, clearly, are not. So yeah, perfectly fitting.
So if I didn't know, it has nothing to do with not thinking. I just didn't know. Now I do.