Install Oracle Java?

An app needs Java, i see on my 5.8.18-1-MANJARO is $ java -version
openjdk version “1.8.0_265”
Some app crashed and the developer ask me to try Oracle 11. But that seems like a rare crash and it does not bother me much. So i do not know if i should mess with these things that i do not understand, i was researching and found that maybe this can do that:
$ pamac build jre11 jdk11


To install (1):
libnet 1:1.1.6-1 (Required By: jre11) extra 98,6 kB
To build (2):
jdk11 11.0.9-1 AUR
jre11 11.0.9-1 AUR
Total download size: 98,6 kB
Total installed size: 315,5 kB
Edit build files ? [y/N] N
Apply transaction ? [y/N] N

surprisingly small size, if that is all correct…

What you might want is install jdk-openjdk and jre-openjdk from official repos … it will also install jre-openjdk-headless

If you REALLY need “oracle java”;

Or use openjdk or openjre from repositories like bogdancovaciu says.

1 Like

They are on AUR, why bothering with manual download

98,6 kB is the size of libnet downloaded package, 315,5 kB when installed (decompressed)

Pointless suggestion as he have already openjdk installed and need Oracle Java

that’s good

1 Like

They are on AUR, why bothering with manual download

This is simple. AUR version always will be updated with the new version but , not all versions of java works well.
My suggestios is to select one that don’t do errors and always work with these version.
My link is for java15 but the best is to use java8 version.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.