Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Java
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Sat Dec 29, 2018 3:45 pm    Post subject: [Solved]Java Reply with quote

Which is the best java version to use now?
openjdk?
oracle-java?
icedtea?

I tried installing openjdk but I got a circular dependency error but I am not sure what the offending use flag is and if it would be a good idea to remove it.

Code:
reik-msi ~ # emerge --ask --verbose dev-java/openjdk

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!


[ebuild  N    ~] dev-java/openjdk-11.0.1_p13:11::gentoo  USE="alsa jbootstrap jvm_variant_server pch webstart -debug -doc -examples (-gentoo-vm) -headless-awt -jvm_variant_client -jvm_variant_core -jvm_variant_minimal -jvm_variant_zero -nsplugin (-selinux) -source" 88,023 KiB

Total: 1 package (1 new), Size of downloads: 88,023 KiB

 * Error: circular dependencies:

(dev-java/openjdk-11.0.1_p13:11/11::gentoo, ebuild scheduled for merge) depends on
 (dev-java/openjdk-11.0.1_p13:11/11::gentoo, ebuild scheduled for merge) (buildtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)


Last edited by reikdas on Sat Dec 29, 2018 5:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23264
Location: here

PostPosted: Sat Dec 29, 2018 3:53 pm    Post subject: Reply with quote

Icedtea if you want java-8 or openjdk if you want java-11.
The error is because you need dev-java/openjdk-bin for compile dev-java/openjdk
openjdk-11.0.1_p13.ebuild:
DEPEND="
        ${CDEPEND}
        app-arch/zip
        media-libs/alsa-lib
        !headless-awt? (
                x11-base/xorg-proto
        )
        || (
                dev-java/openjdk-bin:${SLOT}
                dev-java/openjdk:${SLOT}
        )
"

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum