notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
openjdk12 Java Development Kit 12
12.0.2+10.4_4 java Deleted on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 12.0.2+10.4_4Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: EOLed since 30 september 2019
Expired This port expired on: 2022-05-21
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-03-21 04:39:31
Last Update: 2022-05-24 20:09:35
Commit Hash: c7d1c24
People watching this port, also watch:: openjdk11, zrep
Also Listed In: devel
License: GPLv2
WWW:
https://openjdk.java.net/
Description:
An open-source implementation of the Java Platform, Standard Edition, WWW: https://openjdk.java.net/
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/openjdk12-12.0.2+10.4_4/catalog.mk
  2. /usr/local/share/licenses/openjdk12-12.0.2+10.4_4/LICENSE
  3. /usr/local/share/licenses/openjdk12-12.0.2+10.4_4/GPLv2
Collapse this list.
Dependency lines:
  • openjdk12>0:java/openjdk12
No installation instructions:
This port has been deleted.
PKGNAME: openjdk12
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1587166133 SHA256 (battleblow-openjdk-jdk12u-jdk-12.0.2+10-4_GH0.tar.gz) = 4cff87c7eb06005bc7d98705139479e24907f410e1c22163e5df0e3c68868048 SIZE (battleblow-openjdk-jdk12u-jdk-12.0.2+10-4_GH0.tar.gz) = 110454275

No package information for this port in our database
Sometimes this happens. Not all ports have packages.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. zip : archivers/zip
  2. autoconf>0 : devel/autoconf
  3. cups.h : print/cups
  4. bash : shells/bash
  5. gsed : textproc/gsed
  6. gmake>=4.3 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. javac : java/bootstrap-openjdk11
  9. gcc10 : lang/gcc10
  10. as : devel/binutils
  11. x11.pc : x11/libX11
  12. xext.pc : x11/libXext
  13. xi.pc : x11/libXi
  14. xrandr.pc : x11/libXrandr
  15. xrender.pc : x11/libXrender
  16. xt.pc : x11-toolkits/libXt
  17. xtst.pc : x11/libXtst
Runtime dependencies:
  1. javavm : java/javavmwrapper
  2. gcc10 : lang/gcc10
  3. x11.pc : x11/libX11
  4. xext.pc : x11/libXext
  5. xi.pc : x11/libXi
  6. xrandr.pc : x11/libXrandr
  7. xrender.pc : x11/libXrender
  8. xt.pc : x11-toolkits/libXt
  9. xtst.pc : x11/libXtst
Library dependencies:
  1. libasound.so : audio/alsa-lib
  2. libfontconfig.so : x11-fonts/fontconfig
  3. libfreetype.so : print/freetype2
  4. libgif.so : graphics/giflib
  5. liblcms2.so : graphics/lcms2
  6. libpng.so : graphics/png
  7. libjpeg.so : graphics/jpeg-turbo
NOTE: dependencies for deleted ports are notoriously suspect
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. java/openjdk13*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
java_openjdk12
USES:
compiler:features cpe gmake iconv jpeg pkgconfig xorg
pkg-message:
For install:
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/battleblow/openjdk-jdk12u/tar.gz/jdk-12.0.2+10-4?dummy=/
Collapse this list.
Port Moves
  • port deleted on 2022-05-24
    REASON: Has expired: EOLed since 30 september 2019

Number of commits found: 48

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
12.0.2+10.4_4
24 May 2022 20:09:35
commit hash: c7d1c247d8ea8f87edd6a5012702a3cd10d99d49commit hash: c7d1c247d8ea8f87edd6a5012702a3cd10d99d49commit hash: c7d1c247d8ea8f87edd6a5012702a3cd10d99d49commit hash: c7d1c247d8ea8f87edd6a5012702a3cd10d99d49 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cleanup: remove expired versions of OpenJDK (12 through 16)

Adjust ports depending on expired versions of OpenJDK:
- biology/snpeff: 12+ -> 17+
- devel/RStudio: 12 -> 11
- www/closure-compiler: 13 -> 11+

Allow java/openjdk17 to use java/openjdk17-bootstrap on i386
too, this builds just fine on 13.1-i386

Remove jdk12-doc as it is no longer relevant.

Clean up Java version calculations in bsd.java.mk

Reviewed by: jwb, java (glewis)

Differential Revision: https://reviews.freebsd.org/D35280
12.0.2+10.4_4
21 Apr 2022 08:24:58
commit hash: fe30b5124c358e4e46df1a3b7649438f137461decommit hash: fe30b5124c358e4e46df1a3b7649438f137461decommit hash: fe30b5124c358e4e46df1a3b7649438f137461decommit hash: fe30b5124c358e4e46df1a3b7649438f137461de files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
openjdk: mark as deprecated all EOLed version of openjdk

The current supported version of openjdk are:
8 (LTS) up to 31 march 2025
11 (LTS) up to 30 september 2026
17 (LTS) up to 20 september 2031
18 up to 30 september 2022

All other version have expired long ago
12.0.2+10.4_4
16 Oct 2021 12:22:03
commit hash: 3822416493cfbbed8fe7a487391b40bec956d671commit hash: 3822416493cfbbed8fe7a487391b40bec956d671commit hash: 3822416493cfbbed8fe7a487391b40bec956d671commit hash: 3822416493cfbbed8fe7a487391b40bec956d671 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
java/openjdk*: work around UB in markOopDesc, fix builds with clang 13

During an exp-run for llvm 13 (see bug 258209), it turned out that
java/openjdk11 through openjdk13 fail to build with clang 13:

=== Output from failing command(s) repeated here ===
* For target jdk__packages_attribute.done:

These crashes are all caused by the markOop/markOopDesc classes, which
are used to keep track of objects, and which are 'marked' using the low
few bits. (See
https://github.com/openjdk/jdk13u/blob/master/src/hotspot/share/oops/markOop.hpp
).

After some laborious bisecting, I found out that these crashes start
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.0.2+10.4_3
30 Sep 2021 21:23:30
commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7commit hash: 620968a43a5f9bb3fa98ab20f257a4c0d864caa7 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
12.0.2+10.4_3
11 Sep 2021 11:32:00
commit hash: 7411d1f5504fb328f3f8e1311ff21e74807c702ecommit hash: 7411d1f5504fb328f3f8e1311ff21e74807c702ecommit hash: 7411d1f5504fb328f3f8e1311ff21e74807c702ecommit hash: 7411d1f5504fb328f3f8e1311ff21e74807c702e files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
java/openjdk12: Add CPE information

Approved by:	portmgr (blanket)
12.0.2+10.4_3
29 May 2021 14:08:18
commit hash: d6f8398fa2774d0e8eb6ab29b40b6ef0b16ba133commit hash: d6f8398fa2774d0e8eb6ab29b40b6ef0b16ba133commit hash: d6f8398fa2774d0e8eb6ab29b40b6ef0b16ba133commit hash: d6f8398fa2774d0e8eb6ab29b40b6ef0b16ba133 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
java/openjdk12: fix build with clang 12

During an exp-run for llvm 12 (see bug 255570), it turned out that
java/openjdk11 does not build with clang 12.0.0:

Creating support/demos/image/jfc/J2Ddemo/J2Ddemo.jar
/usr/local/bin/bash: line 5: 49140 Abort trap		   (core dumped)
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/interim-image/bin/java
-XX:DumpLoadedClassList=/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/link_opt/classlist.raw
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true -cp
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/classlist.jar
build.tools.classlist.HelloClasslist > /dev/null 2>&1 >
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/link_opt/default_jli_trace.txt
gmake[4]: *** [GenerateLinkOptData.gmk:66:
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/link_opt/classlist]
Error 134

This is due to missing backports of upstream commits:

commit c484d8904285652246c3af212a4211b9a8955149
Author: Thomas Stuefe <stuefe@openjdk.org>
Date:	Tue Mar 16 05:49:01 2021 +0000
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.0.2+10.4_3
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
12.0.2+10.4_3
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
12.0.2+10.4_3
17 Mar 2021 02:00:16
Revision:568628Original commit files touched by this commit
pkubaj search for other commits by this committer
java/openjdk12: enable dtrace on powerpc64 elfv2
12.0.2+10.4_2
16 Mar 2021 18:06:56
Revision:568594Original commit files touched by this commit
pkubaj search for other commits by this committer
java/openjdk15: fix build on powerpc64le

Also cosmetic fixes related to powerpc64* for openjdk 12, 13, 14.
12.0.2+10.4_2
15 Mar 2021 14:58:02
Revision:568464Original commit files touched by this commit
pkubaj search for other commits by this committer
java/openjdk12: fix build on powerpc64le

This ports r556940 to java/openjdk11.

Approved by:	tier 2 blanket
12.0.2+10.4_2
05 Feb 2021 04:04:54
Revision:564084Original commit files touched by this commit
jkim search for other commits by this committer
Fix build with Clang 11.

https://github.com/battleblow/openjdk-jdk12u/commit/9e8e504992f95cc36c6dcd6e6f57ac18b58e0db5
https://github.com/battleblow/openjdk-jdk12u/commit/c525150ace8816c503ccc618ea5559d06c99bbcb
https://github.com/battleblow/openjdk-jdk12u/commit/dc2d99a20d0eea8d79cb31960cb693b2a4a39a4b

PR:		250270
12.0.2+10.4_1
12 Jul 2020 02:13:27
Revision:542063Original commit files touched by this commit
glewis search for other commits by this committer
More accurate vendor information

PR:		244634
12.0.2+10.4_1
08 Jun 2020 04:41:31
Revision:538197Original commit files touched by this commit
kevans search for other commits by this committer
Multiple ports: improve regex compliance

These changes largely fall into just two categories:

1. Need textproc/gsed for GNU extensions
2. Extraneous escapes that can go away

For #1, there's a further subdivision into those that require autoconf magic
and those that can get away with BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed.
-CURRENT will soon gain GNU extensions, but these will take longer to get to
all supported releases; we must switch them to gsed to ensure we're actually
properly building them as intended.

For #2, I've fixed these as I can and we should upstream these fixes.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.0.2+10.4
09 May 2020 19:24:50
Revision:534792Original commit files touched by this commit
tijl search for other commits by this committer
Update devel/gmake to 4.3.

Some changes have been made in this release that break backwards
compatibility.  Let USES=gmake force users to upgrade to this version so
port maintainers don't have to support older versions.

PR:		245725
Exp-run by:	antoine
Approved by:	portmgr (antoine)
12.0.2+10.4
18 Apr 2020 20:42:12
Revision:532044Original commit files touched by this commit
glewis search for other commits by this committer
Update to 12.0.2+10.4

PR:		244947
Submitted by:	Trond.Endrestol@ximalas.info
12.0.2+10.3_1
22 Mar 2020 20:00:25
Revision:528937Original commit files touched by this commit
glewis search for other commits by this committer
Fix the build on aarch64

Submitted by:	Klaus Kuchemann <maciphone2@googlemail.com>
12.0.2+10.3_1
16 Jan 2020 13:59:09
Revision:523232Original commit files touched by this commit
pkubaj search for other commits by this committer
java/openjdk12: correctly patch openjdk12 for ppc64 elfv2

The previous patch didn't check for architecture.

PR:		243183
12.0.2+10.3_1
16 Jan 2020 13:34:01
Revision:523230Original commit files touched by this commit
antoine search for other commits by this committer
Revert r523218, it breaks build on tier 1

With hat:	portmgr
12.0.2+10.3_1
16 Jan 2020 09:29:00
Revision:523218Original commit files touched by this commit
pkubaj search for other commits by this committer
java/openjdk12: fix compilation for powerpc64 elfv2

Because of issue with macros in precompiled.hpp, --disable-precompiled-headers
is necessary.

Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to
compile for elfv2.

PR:		243183
Approved by:	glewis (maintainer)
12.0.2+10.3_1
09 Nov 2019 22:28:53
Revision:517165Original commit files touched by this commit
glewis search for other commits by this committer
Reinstate guidance to have /proc mounted

* Having /proc mounted is not generally critical, but there is at least one
  piece of functionality that does rely on its presence at the moment
  (e.g. OperatingSystemMXBean)
12.0.2+10.3_1
06 Nov 2019 18:03:34
Revision:516912Original commit files touched by this commit
zeising search for other commits by this committer
Add USES=xorg USES=gl, ports categories j

Add USES=xorg and USES=gl to ports in categories starting with 'j'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
12.0.2+10.3_1
06 Nov 2019 17:31:33
Revision:516907Original commit files touched by this commit
glewis search for other commits by this committer
Fix build on FreeBSD 12.x/powerpc64 on POWER8+ machines

* Make sure has_mfdscr() returns false on these machines as using it on
  FreeBSD 12.x will cause problems (e.g. SIGILL).

PR:		239368
Sponsored by:	The FreeBSD Foundation
12.0.2+10.3_1
17 Oct 2019 20:38:39
Revision:514683Original commit files touched by this commit
glewis search for other commits by this committer
Fix internal versioning

* Set the Java version correctly
* Bump PORTREVISION since some software may rely on this
12.0.2+10.3
27 Sep 2019 15:44:39
Revision:513045Original commit files touched by this commit
glewis search for other commits by this committer
Sync with openjdk11

* Separate out platform/compiler concerns
* Disable AoT on all arches except amd64

Sponsored by:	The FreeBSD Foundation
12.0.2+10.3
20 Sep 2019 15:46:43
Revision:512419Original commit files touched by this commit
glewis search for other commits by this committer
Udpate to 12.0.2+10-3
12.0.2+10.2_1
30 Aug 2019 22:21:29
Revision:510301Original commit files touched by this commit
glewis search for other commits by this committer
Add support for aarch64

* Add aarch64 to ONLY_FOR_ARCHES on FreeBSD 12.0 and up.

PR:		239246
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
12.0.2+10.2_1
30 Aug 2019 04:26:01
Revision:510232Original commit files touched by this commit
glewis search for other commits by this committer
Prepare for aarch64 support

* Add necessary configure arguments for aarch64
* Add patches needed to compile on aarch64.  These have been upstreamed but
  are not in a release yet.
12.0.2+10.2_1
28 Aug 2019 15:34:33
Revision:510070Original commit files touched by this commit
glewis search for other commits by this committer
Remove guidance about needing procfs

* Remove portions of pkg-message that mention needing /proc mounted.
  This hasn't been the case for a while afaik (I don't have it mounted
  and haven't observed any related problems).
12.0.2+10.2_1
26 Aug 2019 02:00:43
Revision:509861Original commit files touched by this commit
glewis search for other commits by this committer
Add powerpc64 support

PR:		237370
12.0.2+10.2_1
25 Aug 2019 20:55:20
Revision:509856Original commit files touched by this commit
glewis search for other commits by this committer
Allow the JDK to be compiled with gcc.

This is required for powerpc64 support.

PR:		237370
12.0.2+10.2_1
20 Aug 2019 18:25:11
Revision:509440Original commit files touched by this commit
glewis search for other commits by this committer
Update cacerts

* Use the latest cacerts file from Oracle's public distribution of 12.0.2
12.0.2+10.2
13 Aug 2019 22:22:35
Revision:508880Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories h-k)
12.0.2+10.2
13 Aug 2019 13:32:13
Revision:508822Original commit files touched by this commit
glewis search for other commits by this committer
Update to 12.0.2+10.2
12.0.2+10.1_1
31 Jul 2019 16:46:25
Revision:507720Original commit files touched by this commit
glewis search for other commits by this committer
Register openjdk12 as a java provider with javavm

PR:		237991
Submitted by:	Tommy P <tommyhp2@gmail.com>
12.0.2+10.1
24 Jul 2019 22:45:29
Revision:507304Original commit files touched by this commit
glewis search for other commits by this committer
* Set NO_CCACHE to match configure being passed --disable-ccache

Fixes the build for people trying to use ccache

PR:		239387
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
12.0.2+10.1
19 Jul 2019 17:08:29
Revision:506954Original commit files touched by this commit
glewis search for other commits by this committer
Update to 12.0.2
12.0.1+12.2
16 Jun 2019 16:05:29
Revision:504353Original commit files touched by this commit
antoine search for other commits by this committer
Clean up LIB_DEPENDS
12.0.1+12.2
17 May 2019 04:32:40
Revision:501835Original commit files touched by this commit
glewis search for other commits by this committer
Update to 12.0.1.12.2 which includes powerpc64 support.

PR:		237370
12.0.1+12.1
11 May 2019 19:52:08
Revision:501298Original commit files touched by this commit
mat search for other commits by this committer
Use USE_GITHUB when appropriate.
12.0.1.12.1
17 Apr 2019 20:57:53
Revision:499213Original commit files touched by this commit
glewis search for other commits by this committer
. Update to 12.0.1
12.0.0.33.2
29 Mar 2019 17:39:15
Revision:497173Original commit files touched by this commit
glewis search for other commits by this committer
* Update to 12.0.0.33.2
* Sort LIB_DEPENDS and USE_XORG.
* Add a dependency in alsa-lib now that sound is supported on FreeBSD.
* Don't disable dtrace now that it is supported on FreeBSD.
* Less intrusive iconv change.
12.0.0.33.1_2
28 Mar 2019 23:27:12
Revision:497061Original commit files touched by this commit
jkim search for other commits by this committer
Fix iconv(3) issues.

PR:		236759
12.0.0.33.1_1
21 Mar 2019 20:25:08
Revision:496513Original commit files touched by this commit
glewis search for other commits by this committer
. Fix permissions on jspawnhelper.
. Bump PORTREVISION.
12.0.0.33.1
21 Mar 2019 17:34:20
Revision:496480Original commit files touched by this commit
glewis search for other commits by this committer
Re-add the port of OpenJDK 12
12.0.0.33.1
21 Mar 2019 17:31:48
Revision:496479Original commit files touched by this commit
glewis search for other commits by this committer
Remove openjdk12 to try a repo copy again.
12.0.0.33.1
21 Mar 2019 04:38:51
Revision:496416Original commit files touched by this commit
glewis search for other commits by this committer
Add files missing in last commit somehow.
12.0.0.33.1
21 Mar 2019 03:33:15
Revision:496410Original commit files touched by this commit
glewis search for other commits by this committer
Add a port of OpenJDK 12

Number of commits found: 48