You are not logged in.

#1 2012-05-21 18:31:22

quotidian
Member
Registered: 2012-05-21
Posts: 9

Installing oracle java?

I have read the wiki and understand that arch doesn't have oracle / sun java in the repos due to licensing issues. But I was wondering how I could install jdk 7u4 as the highest version I can find on AUR is 7u3. Can I just install it from a tar.gz file from the Oracle website?

Thanks
Al

Offline

#2 2012-05-21 18:33:58

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Installing oracle java?

Modify the PKGBUILD to work with the newer version.

Offline

#3 2012-05-21 18:41:14

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Installing oracle java?

I think it's in the AUR... Isn't this it?

jre (7.4)
jdk (7.4)

Offline

#4 2012-05-21 18:51:15

quotidian
Member
Registered: 2012-05-21
Posts: 9

Re: Installing oracle java?

Whenever I tried to install it with yaourt and typed:

# yaourt jre 7.4-1

It just brought up a new line with my cursor on it?

Offline

#5 2012-05-21 18:54:27

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Installing oracle java?

Leave the version number off (edit: and use -S).

I would suggest against using yaourt until you have a good idea of how the AUR works.

Last edited by Pres (2012-05-21 18:55:30)

Offline

#6 2012-05-21 22:34:07

rvdli
Member
Registered: 2011-08-25
Posts: 27

Re: Installing oracle java?

yaourt -S jre

Just this. And it works perfectly.
Is better for you to know that packages in AUR aren't "official" packages by Arch team, so think twice before using AUR packages.

Offline

#7 2012-05-23 14:57:29

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Installing oracle java?

1. Read the aur wiki page
2. man makepkg
3. man PKGBUILD
4. what do you need the oracle version of java for anyway?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB