Skip to main content

jdk4py

PyPI Python License

A JDK shipped in a Python package.

Install

pip install jdk4py

or

uv add jdk4py

Usage

Command line

The jdk4py command runs a tool of the bundled JDK, such as java, keytool, or jcmd. With uvx, it runs without installing jdk4py first:

uvx jdk4py java -version

Python API

>>> from jdk4py import JAVA, JAVA_HOME, JAVA_VERSION
>>> JAVA_HOME
PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime')
>>> JAVA
PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java')
>>> JAVA_VERSION
(25, 0, 5)
>>> from subprocess import run
>>> some_java_options = ["-Xmx16G", "-Xms2G"]
>>> run(
...     [JAVA, *some_java_options, "-jar", "HelloWorld.jar"],
...     capture_output=True,
...     check=True,
...     text=True,
... ).stdout.strip()
'Hello, World'

Versioning

jdk4py's version contains 4 numbers:

  • The first 3 numbers correspond to the JDK version.
  • The fourth number is the library API version.

Metadata

Release files for jdk4py 25.0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for jdk4py 25.0.5.0
File Actions
jdk4py-25.0.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for jdk4py-25.0.5.0-py3-none-win_amd64.whl
jdk4py-25.0.5.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for jdk4py-25.0.5.0-py3-none-manylinux_2_17_x86_64.whl
jdk4py-25.0.5.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for jdk4py-25.0.5.0-py3-none-manylinux_2_17_aarch64.whl
jdk4py-25.0.5.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for jdk4py-25.0.5.0-py3-none-macosx_11_0_x86_64.whl
jdk4py-25.0.5.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for jdk4py-25.0.5.0-py3-none-macosx_11_0_arm64.whl

Total release size: 162.9 MB

Release files / jdk4py-25.0.5.0-py3-none-win_amd64.whl

Download URL jdk4py-25.0.5.0-py3-none-win_amd64.whl
Size 31.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
979626fbdfb41055e501b4b183f28248465b99dd03aeca7bbf3df37f2f081caf
BLAKE2b-256 checksum
How to use checksums
d3c54c8ef8f6a7d84b63111f372427c762d363953e05ecbdb3d6cb2d6418f815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / jdk4py-25.0.5.0-py3-none-manylinux_2_17_x86_64.whl

Download URL jdk4py-25.0.5.0-py3-none-manylinux_2_17_x86_64.whl
Size 35.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c19842f9d22035f212aef197255dafbcc94e2460b6819a37f34a0eb6727953c5
BLAKE2b-256 checksum
How to use checksums
d7402ead979633b86b571c042cc15c78fac5a310a33f1b36a2585a1586b4efa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / jdk4py-25.0.5.0-py3-none-manylinux_2_17_aarch64.whl

Download URL jdk4py-25.0.5.0-py3-none-manylinux_2_17_aarch64.whl
Size 34.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4c11daff8de5b25289fc84eba2947a39520e86d8271dff4117e464448410ff61
BLAKE2b-256 checksum
How to use checksums
ad17e237ec6a467dc112d2a999f84c1cc6f9f3972a174a024861d4243c74fb92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / jdk4py-25.0.5.0-py3-none-macosx_11_0_x86_64.whl

Download URL jdk4py-25.0.5.0-py3-none-macosx_11_0_x86_64.whl
Size 31.4 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
626c10c7def6aded5b83aac134e13f32b96d0384c5d795ee3f9f614bf5bc6a77
BLAKE2b-256 checksum
How to use checksums
93ad70244c273f62aaf6c0861ecab630730a7775ab48fd7317c313d70903f67e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / jdk4py-25.0.5.0-py3-none-macosx_11_0_arm64.whl

Download URL jdk4py-25.0.5.0-py3-none-macosx_11_0_arm64.whl
Size 30.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
43cf2400447d1982c65c5d2c0117f643af8799e91f8801849c76ea5728f01bbb
BLAKE2b-256 checksum
How to use checksums
337fa53bd315f13dc3c5761144ce3116a8dfb0561dd79fb77126e8e65fb444f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for jdk4py 25.0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for jdk4py-25.0.5.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page