You are not logged in.

#1 2011-12-10 20:22:49

craigwilkinson
Member
Registered: 2011-12-10
Posts: 4

Oracle JVM for Minecraft, conflicts with OpenJDK

Hi, I was trying to install the official jre7 with yaourt because OpenJDK messes up my graphics across the whole desktop. When I try to install it, however, I can't since they conflict. Is there any way I can install them side by side? Thanks.

Offline

#2 2011-12-10 20:53:08

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

Build the package yourself and then install it with pacman -U

https://wiki.archlinux.org/index.php/AU … g_packages

That should ask you to replace one with the other because they conflict

Last edited by ethail (2011-12-10 20:53:33)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#3 2011-12-10 21:07:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

Do you really have to have them both installed?

Offline

#4 2011-12-10 21:41:51

craigwilkinson
Member
Registered: 2011-12-10
Posts: 4

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

Well the issue is that if I want to remove OpenJDK, libreoffice complains and yaourt won't let me.

Just to clarify, Minecraft appears thusly: http://i.imgur.com/h9rix.jpg
Is this due to OpenJDK?

Last edited by craigwilkinson (2011-12-10 21:45:14)

Offline

#5 2011-12-10 21:46:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

You need jdk because you want to remove openjdk https://aur.archlinux.org/packages.php?ID=51906

Offline

#6 2012-01-06 06:26:06

Kodama
Member
Registered: 2009-11-02
Posts: 53

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

hi, I'm in the same situation here, except openjdk produces an error.log everytim I start minecraft.

so when I do: yaourt -S jdk it builds it but when it comes to actually installing it ist says:


Löse Abhängigkeiten auf...
Suche nach Zwischenkonflikten...
:: jre und jre7-openjdk stehen miteinander in Konflikt (java-runtime). jre7-openjdk entfernen? [j/N] j
Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen)
:: jdk7-openjdk: benötigt jre7-openjdk
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-andreas
==> Restart building jdk ? [y/N]
==> ----------------------------
==>
==> WARNING: Following packages have not been installed:
    jre jdk
[andreas@myhost ~]$

so openjdk won't let me install jdk because it's bind to openjre and I can't install jre because...well you get the idea...

here is an example of the error message I get everytime with openjdk;

http://pastebin.com/gGdAyghV

so how can I replace both openjdk and openjre to replace them with jre and jdk?

Thanks in advance
Andreas

Offline

#7 2012-01-06 07:01:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

Remove openjdk and openjre first.

When posting on the forum, please prepend your commands with LC_ALL=C so that the output is in English.

Offline

#8 2012-01-06 11:06:46

Kodama
Member
Registered: 2009-11-02
Posts: 53

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

good morning,

getting rid of openjdk doesn't seem to be possible;


andreas@myhost ~]$ LC_ALL=C sudo pacman -Rd jdk7-openjdk jre7-openjdk
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: libreoffice-sdk: requires java-environment
:: minecraft: requires java-runtime
[andreas@myhost ~]$ LC_ALL=C sudo pacman -R jdk7-openjdk jre7-openjdk
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: libreoffice-sdk: requires java-environment
:: minecraft: requires java-runtime
[andreas@myhost ~]$

Offline

#9 2012-01-06 11:20:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

You need to tell pacman to disregard the dependency check with 'pacman -Rdd'.

Offline

#10 2012-01-06 12:56:59

Kodama
Member
Registered: 2009-11-02
Posts: 53

Re: Oracle JVM for Minecraft, conflicts with OpenJDK

removing openjdk works with pacman -Rdd but the error .log file is still there after starting minecraft.

http://pastebin.com/4Jm53U4U

Offline

Board footer

Powered by FluxBB