You are not logged in.

#1 2013-01-17 22:14:25

erro
Member
Registered: 2013-01-17
Posts: 9

[SOLVED]Oracle jre / jdk conflicts

Hi,
I just recently installed arch for the first time and is attempting to replace OpenJDK with the version of Oracle.
I downloaded the jre and jdk from AUR, but I get conflicts between them.
The JDK is needed for development purposes.
I extracted the files from the tarball, ran

makepkg

and tried to use pacman for the rest. The process is listed below.
The problem is, it seems JDK and JRE are in conflict, which sounds weird to me.

I read around on the forums, but I didn't find a problem similar to this. I take the chance I didn't miss anything and asks for help instead!

[root@arch jre]# pacman -U jre-7.11-1-x86_64.pkg.tar 
loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): jre-7.11-1

Total Installed Size:   128.16 MiB

Proceed with installation? [Y/n] y

- The jre package is licensed software.
  You MUST agree to the license available in:
  http://java.com/license before using it.
- Please relogin to include jre in your PATH.

Optional dependencies for jre
    alsa-lib: sound support
    ttf-dejavu: fonts
[root@arch jre]# cd ../jdk
[root@arch jdk]# pacman -U jdk-7.11-1-x86_64.pkg.tar 
loading packages...
resolving dependencies...
looking for inter-conflicts...
:: jdk and jre are in conflict (java-runtime). Remove jre? [y/N]

All help and redirects are appreciated,
Erro

EDIT: Forgot to ask if JRE is included in the JDK, I didn't see indications in the AUR.

Last edited by erro (2013-01-17 22:24:41)

Offline

#2 2013-01-17 22:24:30

erro
Member
Registered: 2013-01-17
Posts: 9

Re: [SOLVED]Oracle jre / jdk conflicts

Sorry for taking up forum space!
JRE was included in the JDK, how sloppy of me...

Offline

Board footer

Powered by FluxBB