Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12079
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Thorsten Glaser <t.glaser@tarent.de> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Setting JAVA_HOME |
| Date | Sun, 28 Feb 2021 14:50:02 +0100 |
| Message-ID | <BNuCm-28l-5@gated-at.bofh.it> (permalink) |
| References | <BNusF-256-7@gated-at.bofh.it> |
| X-Original-To | Geert Stappers <stappers@stappers.nl> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Sun Feb 28 13:43:56 2021 |
| Old-Return-Path | <t.glaser@tarent.de> |
| X-Amavis-Spam-Status | No, score=-6.581 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, KHOP_HELO_FCRDNS=0.399, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -3.5 |
| Content-Language | de-DE-1901 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | QUOTED-PRINTABLE |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/22706 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/fafcb4a-aad7-5a3e-1087-74e5128575e@tarent.de |
| Approved | robomod@news.nic.it |
| Lines | 57 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-java@lists.debian.org |
| X-Original-Date | Sun, 28 Feb 2021 14:43:34 +0100 (CET) |
| X-Original-Message-ID | <fafcb4a-aad7-5a3e-1087-74e5128575e@tarent.de> |
| X-Original-References | <20210228133519.ywqc7ygeu6ktiwhe@gpm.stappers.nl> |
| Xref | csiph.com linux.debian.maint.java:12079 |
Show key headers only | View raw
On Sun, 28 Feb 2021, Geert Stappers wrote:
> To what should JAVA_HOME be set?
It should be unset. Also ideally, you have only ever one JRE installed.
Everything else is a nightmare.
To make this work with Java >8 and Maven, you’ll need¹…
<profile>
<id>jre-not-below-jdk</id>
<activation>
<file>
<exists>${java.home}/bin/javadoc</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
</configuration>
</plugin>
</plugins>
</build>
</profile>
… or the Debian-patched version of the maven-javadoc-plugin.
bye,
//mirabilos
① see https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=tartools/mvnparent.git
or use…
<parent>
<groupId>org.evolvis.tartools</groupId>
<artifactId>maven-parent</artifactId>
<version>2.1</version>
</parent>
--
Infrastrukturexperte • tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
*************************************************
Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter
*************************************************
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Setting JAVA_HOME Geert Stappers <stappers@stappers.nl> - 2021-02-28 14:40 +0100
Re: Setting JAVA_HOME Thorsten Glaser <t.glaser@tarent.de> - 2021-02-28 14:50 +0100
Re: Setting JAVA_HOME Geert Stappers <stappers@stappers.nl> - 2021-02-28 15:20 +0100
Re: Setting JAVA_HOME Mechtilde <ooo@mechtilde.de> - 2021-02-28 15:30 +0100
Re: Setting JAVA_HOME Emmanuel Bourg <ebourg@apache.org> - 2021-02-28 18:20 +0100
csiph-web