Talk:Java Developer Guide

Talk
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
I started some humble attempts with 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. 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.


 * Wrt "Towards Java 11" you might have also found the issue tracker 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)