You are not logged in.

#1 2012-12-05 16:14:02

greenstar
Member
From: San Diego
Registered: 2012-12-05
Posts: 3

Changing from openjdk to jre

I am new to Arch and this is my first post.  I formerly used kubuntu.  I am having trouble with the simple command "yaourt -S jre".  I get the following output:

looking for inter-conflicts...
:: jre and jre7-openjdk are in conflict (java-runtime). Remove jre7-openjdk? [y/N] y
:: jre and jre7-openjdk-headless are in conflict (java-runtime-headless). Remove jre7-openjdk-headless? [y/N] y
:: jre and icedtea-web-java7 are in conflict (java-web-start). Remove icedtea-web-java7? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: jdk7-openjdk: requires jre7-openjdk

If I try to remove jre7-openjdk, I get

% sudo pacman -Rns jdk7-openjdk                                                                                                                              1 \3
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: libreoffice-sdk: requires java-environment

How can I upgrade java in place without uninstalling the libreoffice-sdk?  If the jre package "offers" java-environment, then surely this is possible.

Offline

#2 2012-12-05 16:33:07

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Changing from openjdk to jre

pacman -Rd openjdk

or

pacman -Rdd opendjdk

Offline

#3 2012-12-05 16:47:49

greenstar
Member
From: San Diego
Registered: 2012-12-05
Posts: 3

Re: Changing from openjdk to jre

I did this and it seems to have worked:

% sudo pacman -Rdd jre7-openjdk
...
% yaourt -S jre
...

Thank you for the help!

Offline

#4 2012-12-05 16:54:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Changing from openjdk to jre

Why do you want jre instead of openjdk? Also, if you're new to Arch, why are you using yaourt?

Offline

#5 2012-12-05 17:22:40

phil
Member
Registered: 2012-09-22
Posts: 72

Re: Changing from openjdk to jre

I am also thinking of moving to jre because the package jre7-openjdk contains a bug that really annoys me. The keyboard input is somehow not transferred to certain programs like jdownloader or freemind.
Why shouldn't he be using yaourt? It is a nice program to install packages from the AUR.

Offline

#6 2012-12-05 17:28:41

greenstar
Member
From: San Diego
Registered: 2012-12-05
Posts: 3

Re: Changing from openjdk to jre

I thought that was what fixed my issues in the past with sites like omg ubuntu in chrome (which renders the drop-down menus and context menus underneath the site content).  Another good example is the rendering issues on feedly where the tab won't re-draw until I click on another tab and then back again.  But alas, the change to jre didn't fix that issue.  I thought that was what I did in my ubuntu install to fix that problem, but apparently not.

As for yaourt, I use it for the AUR.  There were a few packages I could only find there.

Offline

#7 2012-12-05 17:46:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Changing from openjdk to jre

New to Arch means new to the AUR - you shouldn't use any aur helper until you are thoroughly familiar with the underlying build/install process.

No doubt you will ignore that advice, like all the other noobs....

Offline

#8 2012-12-05 17:46:10

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Changing from openjdk to jre

greenstar wrote:

I thought that was what fixed my issues in the past with sites like omg ubuntu in chrome (which renders the drop-down menus and context menus underneath the site content).  Another good example is the rendering issues on feedly where the tab won't re-draw until I click on another tab and then back again.

I think those issues have nothing at all to do with Java.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#9 2012-12-07 11:51:20

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Changing from openjdk to jre

tomk wrote:

Why do you want jre instead of openjdk?

Reasons to use oracle jre instead of openjdk?
1. Because JetBrains IDEs require oracle jre.
2. Because tomcat used to freeze after some days under openjdk.
3. Perfomance. I don't know if this has changed, but sun jvm used to be faster.

tomk wrote:

New to Arch means new to the AUR - you shouldn't use any aur helper until you are thoroughly familiar with the underlying build/install process

+1

Offline

#10 2012-12-07 14:07:32

jocheem67
Member
Registered: 2009-11-09
Posts: 244

Re: Changing from openjdk to jre

TomK wrote:

No doubt you will ignore that advice, like all the other noobs

That sounds quite cynical.

On topic

I used to use yaourt right from the beginning.

Other Q) What is this AUR thing I keep hearing about?A) See Arch User Repository#FAQ.

Taken from the beginnersguide....one's invited to use it. And yaourt is right on the corner isn't it ? It's the easy way, and convenience is a human reflex, I guess...

Offline

#11 2012-12-07 16:43:08

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Changing from openjdk to jre

tomk wrote:

New to Arch means new to the AUR - you shouldn't use any aur helper until you are thoroughly familiar with the underlying build/install process.

No doubt you will ignore that advice, like all the other noobs....

also, nuke the beginners' guide. and i'm not even joking.

Offline

#12 2012-12-08 22:27:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Changing from openjdk to jre

jocheem67 wrote:
TomK wrote:

No doubt you will ignore that advice, like all the other noobs

That sounds quite cynical.

No, just realistic.

jocheem67 wrote:

Taken from the beginnersguide....

Wrong again - the latest version of the guide doesn't refer to the AUR at all.

Offline

#13 2013-01-01 09:20:17

bartonc
Member
From: Minden, Nevada, USA
Registered: 2012-02-27
Posts: 25

Re: Changing from openjdk to jre

Pajaro wrote:

Reasons to use oracle jre instead of openjdk?
1. Because JetBrains IDEs require oracle jre.

Great info - especially since I just applied for an OSD license from them (JetBrains, not Oracle).

Offline

Board footer

Powered by FluxBB