Jump to content

Help talk:Toolforge/Java

Rendered with Parsoid
From Wikitech
Latest comment: 1 month ago by Plantaest in topic JDK 21
This talk page is not a Cloud VPS or Toolforge support forum. Contact information for Cloud VPS and Toolforge can be found at Help:Cloud Services communication.

* */5 * * *.

"we want to run the tool each five minutes, so we write: * */5 * * *" — I am not very good at crontab, but isn't this "every minute every five hours"? --Base (talk) 21:36, 17 October 2017 (UTC)Reply

Fixed as per https://crontab.guru/#*/5_*_*_*_* vs https://crontab.guru/#*_*/5_*_*_* . --Base (talk) 21:41, 17 October 2017 (UTC)Reply

Publish

When is the new article being released Karlous Korver (talk) 18:56, 27 January 2022 (UTC)Reply

@Karlous Korver: I think I can rewrite this article because I successfully deployed a Java application on Toolforge recently. However, this might take quite some time. Plantaest (talk) 04:28, 23 June 2024 (UTC)Reply

JDK 21

Currently, the Toolforge webservice only supports JDK 17, while the latest LTS version of JDK is 21. JDK 21 has a standout feature called virtual threads, which significantly reduces resource consumption. This is very useful for Java applications on Toolforge, where resources are limited. At present, I am using JDK 21 on Toolforge indirectly through a bash script, deployed on the Feverfew tool. I hope that in the future, the webservice will update to JDK 21. Plantaest (talk) 04:26, 23 June 2024 (UTC)Reply

JDK 21 and JDK 22 should be available via the buildpacks used by the Help:Toolforge/Build Service system. The legacy containers use software versions that correspond with the Debian releases that the images are built on. OpenJDK 17 is the version provided by Debian Bookworm which is the current stable Debian version. The next stable Debian version (Trixie) will include OpenJDK 22 when it is released. This is expected to happen in 2025. -- BryanDavis (talk) 18:04, 24 June 2024 (UTC)Reply
@BryanDavis: Thank you. I think that's great. However, I'm not sure if Toolforge can support Paketo Buildpacks instead of Heroku, because it seems Paketo Buildpacks have image support for GraalVM? Plantaest (talk) 18:10, 24 June 2024 (UTC)Reply
Switching all of Toolforge to a completely different buildpack stack is a big deal. You can open a Phabricator task requesting such changes, but be prepared for a lot of discussion and time to pass before any such switch is made. -- BryanDavis (talk) 21:21, 24 June 2024 (UTC)Reply
Thanks, I understand the problem now. Plantaest (talk) 18:26, 25 June 2024 (UTC)Reply
This question seems a bit off-topic, you can skip it if you think it's unnecessary. Plantaest (talk) 18:12, 24 June 2024 (UTC)Reply

Start a discussion about Help:Toolforge/Java

Start a discussion