Fix docs for oracle java installation. #122

Merged
ryanlerch merged 1 commit from fix-oracle-java-docs into master 2019-04-15 13:07:20 +00:00
Contributor

Changed installation instructions of Oracle Java to use tar.gz instead of rpms. Their rpms do not work correctly with fedora/openjdk packages.

Changed installation instructions of Oracle Java to use tar.gz instead of rpms. Their rpms do not work correctly with fedora/openjdk packages.
Author
Contributor

I have found this page, which also says how to add Oracle JDK into alternatives:
https://fedoraproject.org/wiki/JDK_on_Fedora#Installing_Oracle_JDK_on_Fedora

I have found this page, which also says how to add Oracle JDK into alternatives: https://fedoraproject.org/wiki/JDK_on_Fedora#Installing_Oracle_JDK_on_Fedora
Member

Metadata Update from @jflory7:

  • Pull-request tagged with: improvement, needs committer review
**Metadata Update from @jflory7**: - Pull-request tagged with: improvement, needs committer review
Contributor

@zzambers : can you point to a reference that documents the issue with the rpms please? I've got them installed and they seem to work just fine.

In general, the rpms are preferred because they make removing the package much easier.

@zzambers : can you point to a reference that documents the issue with the rpms please? I've got them installed and they seem to work just fine. In general, the rpms are preferred because they make removing the package much easier.
Contributor

Metadata Update from @ankursinha:

  • Pull-request tagged with: needs info
**Metadata Update from @ankursinha**: - Pull-request tagged with: needs info
First-time contributor

@zzambers : can you point to a reference that documents the issue with the rpms please? I've got them installed and they seem to work just fine.
In general, the rpms are preferred because they make removing the package much easier.

And do you have also system jdk installed?

On my system, installing oracle rpms lead to broken alternatives

> @zzambers : can you point to a reference that documents the issue with the rpms please? I've got them installed and they seem to work just fine. > In general, the rpms are preferred because they make removing the package much easier. And do you have also system jdk installed? On my system, installing oracle rpms lead to broken alternatives
First-time contributor

I have found this page, which also says how to add Oracle JDK into alternatives:
https://fedoraproject.org/wiki/JDK_on_Fedora#Installing_Oracle_JDK_on_Fedora

That page should be removed. It is incredibly old.

> I have found this page, which also says how to add Oracle JDK into alternatives: > https://fedoraproject.org/wiki/JDK_on_Fedora#Installing_Oracle_JDK_on_Fedora That page should be removed. It is incredibly old.
Contributor

I have found this page, which also says how to add Oracle JDK into alternatives:
https://fedoraproject.org/wiki/JDK_on_Fedora#Installing_Oracle_JDK_on_Fedora

That page should be removed. It is incredibly old.

It is one of the many old wiki pages, hence moving reviewed information to quick-docs.

> > I have found this page, which also says how to add Oracle JDK into alternatives: > https://fedoraproject.org/wiki/JDK_on_Fedora#Installing_Oracle_JDK_on_Fedora > > That page should be removed. It is incredibly old. It is one of the many old wiki pages, hence moving reviewed information to quick-docs.
Contributor

@zzambers : can you point to a reference that documents the issue with the rpms please? I've got them installed and they seem to work just fine.
In general, the rpms are preferred because they make removing the package much easier.

And do you have also system jdk installed?

$ rpm -qa \*jre\* \*java\*
java-1.8.0-openjdk-devel-1.8.0.201.b09-6.fc29.x86_64
android-json-org-java-6.0.1-0.5.r22.fc29.noarch
java-1.8.0-openjdk-openjfx-1.8.0.201.b09-6.fc29.x86_64
jre1.8-1.8.0_191-fcs.x86_64  -> oracle java
javamail-1.6.3-3.module_f29+2697+412960d8.noarch
java-1.8.0-openjdk-headless-1.8.0.201.b09-6.fc29.x86_64
ant-javamail-1.10.5-2.fc29.noarch
javapackages-tools-5.3.0-1.fc29.noarch
abrt-java-connector-1.1.1-2.fc29.x86_64
tzdata-java-2018i-1.fc29.noarch
antlr3-java-3.5.2-19.fc29.noarch
python3-javapackages-5.3.0-1.fc29.noarch
javapackages-filesystem-5.3.0-1.fc29.noarch
java-1.8.0-openjdk-1.8.0.201.b09-6.fc29.x86_64

Maybe because I have jre and not jdk? No problem here in daily usage.

On my system, installing oracle rpms lead to broken alternatives

> > @zzambers : can you point to a reference that documents the issue with the rpms please? I've got them installed and they seem to work just fine. > In general, the rpms are preferred because they make removing the package much easier. > > And do you have also system jdk installed? ``` $ rpm -qa \*jre\* \*java\* java-1.8.0-openjdk-devel-1.8.0.201.b09-6.fc29.x86_64 android-json-org-java-6.0.1-0.5.r22.fc29.noarch java-1.8.0-openjdk-openjfx-1.8.0.201.b09-6.fc29.x86_64 jre1.8-1.8.0_191-fcs.x86_64 -> oracle java javamail-1.6.3-3.module_f29+2697+412960d8.noarch java-1.8.0-openjdk-headless-1.8.0.201.b09-6.fc29.x86_64 ant-javamail-1.10.5-2.fc29.noarch javapackages-tools-5.3.0-1.fc29.noarch abrt-java-connector-1.1.1-2.fc29.x86_64 tzdata-java-2018i-1.fc29.noarch antlr3-java-3.5.2-19.fc29.noarch python3-javapackages-5.3.0-1.fc29.noarch javapackages-filesystem-5.3.0-1.fc29.noarch java-1.8.0-openjdk-1.8.0.201.b09-6.fc29.x86_64 ``` Maybe because I have jre and not jdk? No problem here in daily usage. > On my system, installing oracle rpms lead to broken alternatives
First-time contributor

That is interesting. It hsould not be devel related.. but I will try. Had you done any other steps instead of simple dnf install some.rpm?

That is interesting. It hsould not be devel related.. but I will try. Had you done any other steps instead of simple dnf install some.rpm?
Contributor

No, not really. Installed the rpm, and I think updated the alternatives.

Please note that my use case is very small---I only use java for Jabref (which requires openjfx bits that aren't in Fedora now). So maybe I just don't see the breakages that you people see in advanced usage?

No, not really. Installed the rpm, and I think updated the alternatives. Please note that my use case is very small---I only use java for Jabref (which requires openjfx bits that aren't in Fedora now). So maybe I just don't see the breakages that you people see in advanced usage?
First-time contributor

I see. Nvm. Still users should be warned to isntall oracle jdk instead of encouraged. TBH, currently there is no reason to do so those days. Can we merge now please?

I see. Nvm. Still users should be warned to isntall oracle jdk instead of encouraged. TBH, currently there is no reason to do so those days. Can we merge now please?
Contributor

@zzambers : would you add a warning to the page please as @jvanek suggests?

If the JDK bit is correct, would you be able to remove the "unreviewed warning" at the top of the page? That'll make this page ready for use.

@zzambers : would you add a warning to the page please as @jvanek suggests? If the JDK bit is correct, would you be able to remove the "unreviewed warning" at the top of the page? That'll make this page ready for use.
Contributor

Metadata Update from @ankursinha:

  • Request assigned
**Metadata Update from @ankursinha**: - Request assigned
Contributor

Metadata Update from @ankursinha:

  • Pull-request untagged with: needs committer review, needs info
**Metadata Update from @ankursinha**: - Pull-request **un**tagged with: needs committer review, needs info
Contributor

Merging, this. I'll remove the unreviewed warning from the page now.

Merging, this. I'll remove the unreviewed warning from the page now.
Contributor

Pull-Request has been merged by ankursinha

Pull-Request has been merged by ankursinha
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Docs/quick-docs#122
No description provided.