Commit Graph

49 Commits

Author SHA1 Message Date
Weijia Wang
56ed765f9c
Merge pull request #295440 from jlesquembre/jl/jdk22
openjdk22: init at 22+36
2024-03-25 16:16:48 +01:00
José Luis Lafuente
d7c54882e6
openjdk22: init at 22+36 2024-03-25 14:41:55 +01:00
Weijia Wang
111dd2ed97 openjdk16: make linux-only 2024-03-11 00:42:42 +01:00
Weijia Wang
b95f9bd48c javaPackages.jogl_2_4_0: rename to jogl 2024-02-10 18:00:38 +01:00
Weijia Wang
e4a9ddcc17 javaPackages: assert stdenv.isLinux in mkOpenjdkLinuxOnly 2024-02-08 23:09:43 +01:00
Weijia Wang
c2b359cd1f javaPackages.mavenfod: drop 2024-02-06 16:05:49 +01:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
Adam Joseph
310cda5a0c mkAdoptopenjdk: allow missing {jre,jdk}-openj9 attribute 2023-11-30 09:36:06 +01:00
Artturi
397d67a60d
Merge pull request #263736 from rollf/amazon-corretto
corretto{11,17,19}: init at 11.0.20.9.1/17.0.8.8.1/19.0.2.7.1
2023-11-24 14:24:38 +02:00
Rolf Schröder
3cd0e6f2d3 corretto{11,17,19}: init at 11.0.20.9.1/17.0.8.8.1/19.0.2.7.1 2023-11-22 21:04:36 +01:00
Infinidoge
d849c98d87 temurin-bin: init at 21 2023-10-25 09:39:42 -04:00
Weijia Wang
18c9af9f37 zulu21: deduplicate expressions 2023-10-08 23:15:19 +02:00
Infinidoge
82c294f13a
openjdk21, openjfx21: init at 21 (#258507)
Uses temurin-bin-20 to bootstrap, as temurin-bin-21 hasn't been released yet
2023-10-08 23:11:55 +02:00
Weijia Wang
2e692b3ddb zulu: add darwin support 2023-10-08 17:34:23 +02:00
Weijia Wang
1667a74168 javaPackages.jogl_2_4_0: add darwin support 2023-08-03 15:33:11 +02:00
Weijia Wang
3b438ab99e javaPackages.jogl_2_3_2: drop 2023-08-03 15:33:11 +02:00
sohalt
eacd9ad04d
openjdk: init at 20+36 and openjfx: init at 20+19 2023-07-02 07:52:14 +08:00
Weijia Wang
00bc3c531d maven.buildMavenPackage: rename from javaPackages.mavenfod 2023-06-20 19:54:46 +03:00
Weijia Wang
50940008e8 mavenbuild: drop 2023-06-18 12:22:57 +03:00
Pol Dellaiera
f03155fc9f
Merge pull request #218669 from avdv/gephi-0.10.1
gephi: 0.9.6 -> 0.10.1
2023-06-08 14:15:44 +02:00
Claudio Bley
09966984eb javaPackages: add jogl 2.4.0 2023-06-07 22:43:48 +02:00
Sandro Jäckel
e0c22ecf8e javaPackages: cleanup unused code 2023-04-14 22:23:39 -03:00
Sandro Jäckel
8204a95ef2 openjdk: bootstrap headless variant with headless openjdk
This makes bootstrapping work when environment.noXlibs is set to true
2023-04-14 22:23:39 -03:00
Mario Rodas
eed05da3a3
Merge pull request #199802 from jerith666/openjdk-19
OpenJDK: init 19.0.1
2022-11-30 08:01:20 -05:00
Matt McHenry
e7cfa26a86 openjdk: init 19.0.1
as usual this is mostly copy-pasted from 18, so this commit is best
reviewed with '--find-copies-harder'

stop exposing openjdk 18 since it was not a long-term support release

change the default openjdk from 17 to 19 since nixpkgs is a
rolling-release repository

drop the ceremony around bootstrapping via adoptopenjdk for 64-bit
builds vs. via earlier openjdk builds for 32-bit, because, to be
frank, since we're using temurin now, it's not a simple copy-paste
job.  :-/  if someone needs a 32-bit openjdk, that work can be done
separately.

JavaFX revs from 17 to 19; it looks like 18 was never packaged along
with JDK 18.

* the gradle invocation used to build JavaFX must still be done with
  Java 18, as gradle does not yet support running itself on Java 19.

* a couple of patches need to be applied, since a new State enum was
  introduced in the JDK that collides with one in JavaFX.

* the hash of the gradle dependencies has not changed, which is
  surprising, but as far as I can tell correct.

One application (libreoffice) doesn't work with 19 yet, so pin it to
jdk 17 for now.

Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
2022-11-22 20:33:24 -05:00
Adam Joseph
1a61c13bfa java-packages.nix: detect i686 using stdenv.hostPlatform
`java-packages.nix` attempts to automatically decide which java to use
for bootstrapping.  When this works, it works well.  However when it
fails due to the user setting `config.allowNonSource=false` on a
non-x86 platform, the reported failure is extremely confusing and does
not mention the `NIXPKGS_ALLOW_NONSOURCE=1` option to proceed, or
that `allowNonSource` had anything to do with the eval failure.

Here's why this is happening:

Currently, `java-packages.nix` makes its detection choice based on
`adoptopenjdk.jdk-hotspot.meta.available`.  If the user has set
`config.allowNonSource=false` then the `adoptopenjdk-bin` packages
will all report `_.meta.available==false`.  If
`adoptopenjdk.jdk-hotspot.meta.available==false` then the detection
code will proceed to use `callPackage path args`, *even if that
package is **also** `meta.unavailable`* for end-user-unfixable
reasons.

In the case of `openjdk8`, the `path` passed is a `nix` expression
that only works on x86.  The user has two options for continuing the
build: buy an x86 machine or add an `allowNonSource` exception for the
bootstrap jdk.  The second option is generally preferred, but the user
is only offered the first option.

The following comment appears above the line in `java-packages.nix`
which does the automatic selection:

```
/* adoptopenjdk not available for i686, so fall back to our old builds for bootstrapping */
```

Since the intent here was to decide based on "i686-ness", let's query
the authoritative source for i686ness in nixpkgs: `stdenv.hostPlatform`.
2022-11-04 17:59:00 -07:00
Yureka
8886c89d0e {temurin,adoptopenjdk}-bin: use alpine_linux os for musl libc 2022-10-12 20:28:59 +02:00
Artturin
81b9d5cab6 openjdk*: fix darwin eval failure
only ./pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
has the gtkSupport option
2022-10-03 20:04:10 +03:00
Robert Hensing
edbe7341e2
Merge pull request #192632 from hercules-ci/jdk-reduce-build-closure
openjdk*: Make bootstrap headless
2022-09-24 12:44:50 +01:00
Robert Hensing
19313d0fa2 openjdk*: Make bootstrap headless
This reduces the build closure size.
Reducing the build closure size reduces the number of rebuilds
across time and it helps with such tasks as bisecting the staging
branch.
2022-09-23 15:54:19 +01:00
Martin Weinelt
5d4267b0f2 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-20 12:25:19 +02:00
Vladimír Čunát
a5dfac88d5
Merge branch 'master' into staging-next
The java conflicts weren't trivial.  Hopefully OK.
2022-09-19 07:40:23 +02:00
Fabián Heredia Montiel
f8a5339532 openjdk17-bootstrap: adoptopenjdk16 → adoptopenjdk17 2022-09-18 20:52:40 -05:00
taku0
c74221839b temurin-bin, semeru-bin: init at 17.0.3, adoptopenjdk-bin: remove 13, 14, 17
AdoptOpenJDK Hotspot is now Eclipse Temurin and AdoptOpenJDK OpenJ9 is
now IBM Semeru Runtime.

Adds `temurin-bin` and `semeru-bin` packages.

AdoptOpenJDK 13, 14, and 15 is no longer supported.  AdoptOpenJDK 13 and
14 are removed.  AdoptOpenJDK 15 is left only for some packages
depending it.
2022-09-12 16:29:36 +09:00
xeals
da40a449e9 openjdk18: init at 18+36 2022-03-23 12:57:01 +11:00
xeals
b6cb656c0d adoptopenjdk: add 17.0.2 2022-03-23 12:56:36 +11:00
Benjamin Staffin
34006ebc9d Merge remote-tracking branch 'origin/master' into mvn 2022-03-21 18:37:45 -04:00
Pascal Bach
0db6f946fe openjfx17: init at 17.0.0.1+1 2022-01-22 12:21:48 +01:00
Maciej Krüger
5106a2f74f
javaPackages.mavenfod: init 2021-12-13 17:49:25 +01:00
Philipp Dargel
a3401f6e33 OpenJDK: expose more versions
Provide a way to access all JDK versions.
2021-12-02 17:54:20 -08:00
midchildan
55871dc165
javaPackages: add upgraded packages
These are packages required to build Sourcetrail Java support

- maven-compiler-plugin 3.2
- plexus-compiler-api 2.4
- plexus-compiler-javac 2.4
- plexus-compiler-manager 2.4
2020-10-22 10:11:36 +09:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
94ff822eec jogl: init at 2.3.2 2018-03-19 04:08:12 +00:00
Tim Steinbach
63a46e0914
Complete hello world with test 2016-11-15 14:18:19 -05:00
NeQuissimus
0e10bfa246 maven_hello: Add 1.1, add ability to choose skipping tests 2016-11-14 19:23:08 -05:00
Tim Steinbach
5d54cfd7a4
junit_4_12 part 2 2016-11-14 15:19:34 -05:00
Tim Steinbach
8500c24911
Finish maven-hello / framework 2016-11-14 15:19:33 -05:00
Tim Steinbach
38e762c6d1
Partial maven-hello 2016-11-14 15:19:33 -05:00
Tim Steinbach
1f2e19b67c
Partial junit_4_12 2016-11-14 15:19:33 -05:00