aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
AgeCommit message (Collapse)Author
2024-06-24gnu: Update openjdk variable to openjdk21.Remco van 't Veer
* gnu/packages/java.scm (openjdk): Update to openjdk21. Change-Id: I132dcb6722f604cfe42fdfbc81066d614d4519b9 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-05-31gnu: tla2tools: Add UseParallelGC to Java command in wrapper scripts.Karl Hallsby
* gnu/packages/java.scm: Add -XX:+UseParallelGC to generated wrapper scripts for TLA+'s binary tools. TLA+'s tools request (and throw a warning message) when you invoke them without Java's parallel GC flag. Including this flag removes the warning message and should improve performance (theoretically). Change-Id: I12f7432db21db31ae2b0b30cc7f41f4a6af58b0a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-15gnu: java-jctools-core-1: Skip tests on aarch64-linux.Efraim Flashner
* gnu/packages/java.scm (java-jctools-core-1)[arguments]: When building on aarch64-linux skip the tests. Change-Id: I83a40b5eb352be48b9083aa57dd10e87b525c7be
2024-05-15gnu: java-swt: Update source URI.Efraim Flashner
* gnu/packages/java.scm (java-swt)[source]: Update to new source location. Change-Id: Iba0ba8143192b4388d498e768ff923b7f31bfc0e
2024-05-15gnu: java-swt: Fix build on some systems.Efraim Flashner
* gnu/packages/java.scm (java-swt)[arguments]: Adjust the custom 'build-native phase to set the C compiler. Change-Id: Ie961ea91e5cd2ce9fc7b2228e08d082a5a1cfe06
2024-04-25gnu: jbr: Update to 17.0.10b1207.6.Danny Milosavljevic
* gnu/packages/java.scm (jbr): Update to 17.0.10b1207.6. Change-Id: Iefcc3cb8cae593b5659a646314fe846cc509c666
2024-04-25gnu: jbr: Update to 21.0.2b397.7.Danny Milosavljevic
* gnu/packages/java.scm (jbr): Update to 21.0.2b397.7. Change-Id: Ie32e4aa7fcdbfb2c3deead80a85b5ae55c3891dd
2024-04-22gnu: java-easymock-class-extension: Use java-asm-8.Ricardo Wurmus
This is necessary to avoid invalid instructions coming from the incompatible build of java-asm. * gnu/packages/java.scm (java-easymock-class-extension)[inputs]: Replace java-asm with java-asm-8. Change-Id: Iff11a54fe62ba71a6d5e62fe80c08b1539c6cee0
2024-04-20gnu: java-powermock-reflect: Update to 2.0.9.Julien Lepiller
* gnu/packages/java.scm (java-powermock-reflect): Update to 2.0.9. [source]: Use git source. (java-powermock-reflect, java-powermock-core, java-powermock-api-support) (java-powermock-junit4-common, java-powermock-junit4) (java-powermock-api-easymock): Update inputs and use new style. * gnu/packages/patches/java-powermock-fix-java-files.patch: Update patch. Change-Id: I856e5f923b094b9fcfa78f5f1d6ca2e4c2af41a7
2024-04-20gnu: Add java-byte-buddy-dep.Julien Lepiller
* gnu/packages/java.scm (java-byte-buddy-dep): New variable. Change-Id: I7907fffe783d6edec65d8b0c496b6e16db53c24d
2024-04-20gnu: Add java-asm-commons-9.Julien Lepiller
* gnu/packages/java.scm (java-asm-commons-9): New variable. Change-Id: Ie289193efd14957d3cbba437cc1a129665c59bfa
2024-04-20gnu: Add java-asm-util-9.Julien Lepiller
* gnu/packages/java.scm (java-asm-util-9): New variable. Change-Id: I41eaa0c7d74d0aee569e8b6b80ec9fee876a1af1
2024-04-20gnu: Add java-asm-analysis-9.Julien Lepiller
* gnu/packages/java.scm (java-asm-analysis-9): New variable. Change-Id: I11d959b9cf3116a0614689ba24dbfd1b746a3b6f
2024-04-20gnu: Add java-asm-tree-9.Julien Lepiller
* gnu/packages/java.scm (java-asm-tree-9): New variable. Change-Id: I6fd32ee00de8488ff980bccd079636abe09ea773
2024-04-20gnu: Add java-asm-9.Julien Lepiller
* gnu/packages/java.scm (java-asm-9): New variable. Change-Id: Ib54e81dc4d55909541851abca34fabde631c8c55
2024-04-20gnu: java-guava: Update to 31.1.Julien Lepiller
* gnu/packages/patches/java-guava-remove-annotation-deps.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/java.scm (java-guava): Update to 31.1. [source]: Use patch. (java-guava-futures-failureaccess): New variable. * gnu/packages/bioinformatics.scm (java-picard, java-picard-2.10.3): Fix for newer guava. * gnu/packages/maven.scm (maven): Add java-guava-futures-failureaccess. Change-Id: Id2553c48e11c6001fb45a0589720cef1551804d9
2024-04-20gnu: java-cglib: Update to 3.3.0.Julien Lepiller
cglib now requires asm-8 at runtime, so propagate it and do not use asm-6 in dependents. * gnu/packages/java.scm (java-cglib): Update to 3.3.0. (java-plexus-component-metadata-1.7, java-easymock, java-jmock) (java-jmock-legacy, java-jmock-junit4, java-ops4j-pax-exam-core-spi) (java-guice, java-fest-assert, java-testng, java-lmax-disruptor) (java-powermock-reflect, java-powermock-modules-junit4) (java-kafka-clients, java-jline-2, java-xmlunit, java-eclipse-sisu-plexus) (java-logback-core): Remove `java-asm` from inputs or native-inputs. (java-httpcomponents-httpclient-cache) (java-httpcomponents-httpclient-osgi): Disable tests. * gnu/packages/batik.scm (java-xmlgraphics-commons): Remove `java-asm` from inputs or native inputs. * gnu/packages/maven.scm (maven-resolver-transport-file) (maven-resolver-transport-http, maven-model, maven-repository-metadata) (maven-compat): Remove `java-asm` from inputs or native-inputs. Change-Id: I92a939e7522d92b185715d7935aabed5ddb77451
2024-04-20gnu: Add java-error-prone-annotations.Julien Lepiller
* gnu/packages/java.scm (java-error-prone-annotations): New variable. Change-Id: I42b79a7c338f8866617b474cb39bc2ea75160d4a
2024-04-20gnu: java-bsh: Update to 2.1.1.Julien Lepiller
* gnu/packages/java.scm (java-bsh): Update to 2.1.1. Change-Id: I70fd1e5ed63195cb8feb9fe14bd7331d34d6da4f
2024-04-20gnu: java-objenesis: Update to 3.3.Julien Lepiller
* gnu/packages/java.scm (java-objenesis): Update to 3.3. Change-Id: I2739d203cace8e7a14396c7a78531b1eb2222251
2024-03-14gnu: openjdk21: Update to 21.0.2.Greg Hogan
* gnu/packages/java.scm (openjdk21): Update to 21.0.2. Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14gnu: openjdk20: Update to 20.0.2.Greg Hogan
* gnu/packages/java.scm (openjdk20): Update to 20.0.2. Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14gnu: openjdk18: Update to 18.0.2.1.Greg Hogan
* gnu/packages/java.scm (openjdk18): Update to 18.0.2.1. Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14gnu: openjdk17: Update to 17.0.10.Greg Hogan
* gnu/packages/java.scm (openjdk17): Update to 17.0.10. Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14gnu: openjdk15: Update to 15.0.10.Greg Hogan
* gnu/packages/java.scm (openjdk15): Update to 15.0.10. Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14gnu: openjdk13: Update to 13.0.14.Greg Hogan
* gnu/packages/java.scm (openjdk13): Update to 13.0.14. Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-14gnu: openjdk12: Update source hash.Greg Hogan
* gnu/packages/java.scm (openjdk12): Update source hash. Signed-off-by: Christopher Baines <mail@cbaines.net> Change-Id: I03cbaf3fc21c045c67cd89bb37e232716b03bb30
2024-03-14gnu: openjdk11: Update to 11.0.22.Greg Hogan
* gnu/packages/java.scm (openjdk11): Update to 11.0.22. Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-03-08gnu: abcl: Fix quoting in wrapper script.Paul A. Patience
* gnu/packages/java.scm (abcl)[arguments]<#:phases>: Fix quoting in installed wrapper script. Also set hash-bang to bash since '[[' is used. Change-Id: I09ee266764c455194ab6097f096378ee1a986bcb Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-02-24gnu: jbr21: Update to 21.0.2b375.1.Danny Milosavljevic
* gnu/packages/java.scm (jbr21): Update to 21.0.2b375.1. Change-Id: Ib85e6cefcc7e2103f073cb460b0d75742594bd38
2024-02-24gnu: openjdk11: Fix ".so" file path patching.Danny Milosavljevic
* gnu/packages/java.scm (openjdk11)[arguments]<#:phases>[patch-jni-libs]: Fix ".so" file path patching. Change-Id: If705ef237a2afe537af41227479cd2f91efe5ae2
2024-02-21gnu: jbr: Update to 17.0.10-b1211.2.Danny Milosavljevic
* gnu/packages/java.scm (jbr): Update to 17.0.10-b1211.2. Change-Id: If08dc1f7d0c00f6ca2d2ebfb7daeca35cf3f665c
2024-01-14gnu: Make intermediate packages public but hidden.Ludovic Courtès
This makes those packages visible to (gnu ci), giving them first class in the eyes of Cuirass and similar tools, in turn ensuring substitutes are available (this was discovered by running ‘guix weather -c 10’). * gnu/packages/rust.scm (rust-bootstrap, rust-1.55) (rust-1.56, rust-1.57, rust-1.58, rust-1.59, rust-1.60) (rust-1.61, rust-1.62, rust-1.63, rust-1.64, rust-1.65) (rust-1.66, rust-1.67, rust-1.68, rust-1.69, rust-1.70) (rust-1.71, rust-1.72, rust-1.73): Make variable public and add ‘hidden?’ property. (rust): Remove ‘hidden?’ property. * gnu/packages/java.scm (java-hamcrest-parent-pom) (java-org-ow2-parent-pom-1.3, java-asm-bootstrap): Make variable public and add ‘hidden?’ property. * gnu/packages/ocaml.scm (dune-bootstrap) (ocaml4.09-dune-bootstrap, ocaml5.0-dune-bootstrap): Likewise. Change-Id: I32b0ea639a4f1c39466875acdbc9cbadf75c7668
2024-01-10gnu: openjdk11: Fix time bomb in ‘GenerateCurrencyData.java’.Ricardo Wurmus
Fixes <https://issues.guix.gnu.org/68333>, as well. This is a companion to commit 5c0f77f4241c9beac0c82deae946bfdc70b49ff0. * gnu/packages/java.scm (openjdk11)[source]: Add patch. Change-Id: I5ff53b8dd90598721a6c3814980c6553013b347c
2024-01-10gnu: openjdk10: Simplify.Ricardo Wurmus
* gnu/packages/java.scm (openjdk10)[arguments]: Remove trailing #T from build phase. Change-Id: Icdb082b250704fe6de3a5e4323f29fa5db8446c7
2024-01-10gnu: openjdk10: Fix time bomb in ‘GenerateCurrencyData.java’.Ricardo Wurmus
Fixes <https://issues.guix.gnu.org/68333>, as well. This is a companion to commit 5c0f77f4241c9beac0c82deae946bfdc70b49ff0. * gnu/packages/java.scm (openjdk10)[source]: Add patch. * gnu/packages/patches/openjdk-currency-time-bomb2.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Change-Id: I42fc14d305883f672cd6764a0ee6462852e41a5b
2024-01-10gnu: openjdk9: Simplify.Ricardo Wurmus
* gnu/packages/java.scm (openjdk9)[source]: Remove BEGIN. [arguments]: Delete trailing #T from build phases. Change-Id: If011dc595c1b9b0d79fd5bb727a8680d1ad4d100
2024-01-10gnu: openjdk9: Fix time bomb in ‘GenerateCurrencyData.java’.Ricardo Wurmus
Fixes <https://issues.guix.gnu.org/68333>, as well. This is a companion to commit 5c0f77f4241c9beac0c82deae946bfdc70b49ff0. * gnu/packages/java.scm (openjdk9)[source]: Add patch. * gnu/packages/patches/openjdk-currency-time-bomb.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Change-Id: I45ca1fe5bad922307eba64d46a330a8f233c0f55
2024-01-10gnu: icedtea: Fix time bomb in ‘GenerateCurrencyData.java’.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/68333>. * gnu/packages/java.scm (icedtea-7)[drop]: Add optional ‘patches’ parameter and honor it. [native-inputs]: Add patch for “jdk-drop”. (icedtea-8): Likewise. * gnu/packages/patches/jdk-currency-time-bomb.patch, gnu/packages/patches/jdk-currency-time-bomb2.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. Change-Id: I3b4cf562ce4bedb87ce0e7c289e431fbb0dbb6f8
2024-01-01gnu: Add java-jakarta-annotations-api.Julien Lepiller
* gnu/packages/java.scm (java-jakarta-annotations-api): New variable. Change-Id: I374d1be6f1c509c9c6391e0551de5362eae13357
2023-12-02gnu: java-openjfx-graphics: Make java-swt optional.Julien Lepiller
It is used for an optional part of openjfx and not used by current packages in Guix. Swt has a reference to a library in the JDK and has a huge closure size because of that. This reduces closure by 1GB for this package and dependents (including josm). * gnu/packages/java.scm (java-openjfx-graphics)[native-inputs]: Move java-swt... [inputs]: ...to here. Change-Id: I7d8cb14569d5a9f451944695225a2dff143bf190
2023-12-02gnu: javacc: Do not reference a jdk.Julien Lepiller
The jdk provides java and javac, while a jre only provides the necessary java, reducing the closure size by 350MB. * gnu/packages/java.scm (javacc): Remove #t at end of phases. [inputs]: Add icedtea-8 as the jre. [arguments]: Use it instead of the jdk. Change-Id: Icb218c40915550b7ff1db96a48a3c48fa6ef52b4
2023-11-09gnu: Add java-parsson.Julien Lepiller
* gnu/packages/java.scm (java-parsson): New variable. Change-Id: Ie564924329e4e0a866e6ed5fe9135c841fb66ae8
2023-11-09gnu: Add java-jakarta-json.Julien Lepiller
* gnu/packages/java.scm (java-jakarta-json): New variable. Change-Id: I2c123710f9d31bf71e8fb86ff0d336b6fcfa9674
2023-11-09gnu: openjdk9: Install default certificates.Julien Lepiller
* gnu/packages/java.scm (openjdk9)[arguments]: Add a phase to install certificates from nss-certs to the expected location. (openjdk10, openjdk11): Adapt to also install the certificates. Change-Id: I6ef626324386419e84a9c0eace5a278ca11c573c
2023-11-05gnu: icedtea-7: Fix building on powerpc-linux.Efraim Flashner
* gnu/packages/java.scm (icedtea-7)[arguments]: Adjust custom 'install-libjvm phase to add support for powerpc-linux. Change-Id: Ie77a2b53fdef1e0ddc0351e6c2d0241d08b80508
2023-10-25gnu: abcl: Update to 1.9.2.Artyom Bologov
* gnu/packages/java.scm (abcl): Update to 1.9.2. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-10-06gnu: openjdk-12: Fix building on aarch64-linux.Efraim Flashner
* gnu/packages/java.scm (openjdk-12)[arugments]: When building for aarch64-linux add a phase to remove a duplicate line.
2023-10-05gnu: openjdk-10: Fix building on aarch64-linux.Efraim Flashner
* gnu/packages/java.scm (openjdk-10)[arguments]: Replace inherited 'patch-for-aarch64 phase for changes in source code layout. Co-authored-by: Christopher Baines <mail@cbaines.net> Co-authored-by: Tim Johann <t1m@phrogstar.de>
2023-09-21gnu: Add jbr@21-b240.22.Danny Milosavljevic
* gnu/packages/java.scm (jbr21): New variable.