Talk:Java Developer Guide

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Talk

Talk status
This discussion is still ongoing as of 4 October 2018.

Please add also the missing || die and bump the examples to EAPI=7. You can drop all (?) eutils in the examples.

  SRC_URI="mirror://gentoo/${P}.tar.gz"

Mirror is never a valid source. Please use devspace or another reliable location instead.

At "CODE Removing files with find and JAVA_RM_FILES" don't you need a "local test_file" there? --Jonas Stein (talk) 21:05, 4 October 2018 (UTC)

Towards Java 11

Talk status
This discussion is still ongoing.

I started some humble attempts with bug #767136 and had a hard time digging through all this. The guide totally lacks depend-java-query and its implications. It seems to work only with atoms like virtual/jdk. Directly depending on a JDK seems impossible. There is code I can read but I have no idea about the motivation.

Also Gentoo Java USE flags now contains a short hint to bug #805008. The bug contains a comment how to unmask gentoo-vm. It seems that this is not explained in the Wiki.

The Wiki also lacks a consistent current state. There is for example java-config and java-config2, depend-java-query, individual patches (ant-core) and eselect to determine a JVM in different contexts. I'd appreciate if this moves towards a goal. It should be harder now to have JDK 1.8 on Gentoo. Currently JDK 11 is harder. — The preceding unsigned comment was added by Onkobu (talkcontribs) 18 August 2021‎

Wrt "Towards Java 11" you might have also found the issue tracker bug #697014 where the next goal is unmasking of jdk-11 and https://archives.gentoo.org/gentoo-dev/message/71ec6a505f3245496d343c506ad21717
--Vaukai (talk) 04:23, 19 August 2021 (UTC)
Now I know. Can I assist somehow, make things visible/ consolidate here in the Wiki? --Onkobu (talk) 14:41, 14 September 2021 (UTC)