jdk4py 21.0.4.2
pip install jdk4py
Released:
A JDK shipped in a Python package
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: GNU General Public License v2 (GPLv2)
- Author: ActiveViam
- Tags java, jdk, jre, jvm
- Requires: Python >=3.10
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Project description
jdk4py
A JDK shipped in a Python package.
Install
pip install jdk4py
or as a Conda package:
conda config --add channels https://conda.atoti.io
conda install jdk4py
Usage
>>> 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
(21, 0, 4)
>>> from subprocess import run
>>> some_java_options = ["-Xmx16G", "-Xms2G"]
>>> run(
... [JAVA, "-jar", "HelloWorld.jar", *some_java_options],
... 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.
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: GNU General Public License v2 (GPLv2)
- Author: ActiveViam
- Tags java, jdk, jre, jvm
- Requires: Python >=3.10
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Uploaded
Python 3
manylinux: glibc 2.17+ x86-64
Uploaded
Python 3
manylinux: glibc 2.17+ ARM64
Uploaded
Python 3
macOS 11.0+ ARM64
Uploaded
Python 3
macOS 10.9+ x86-64
File details
Details for the file jdk4py-21.0.4.2-py3-none-win_amd64.whl
.
File metadata
- Download URL: jdk4py-21.0.4.2-py3-none-win_amd64.whl
- Upload date:
- Size: 29.8 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acbd3cc81af3a1de9489caa573f1cf87a8965923b0c5fc0771bf6f102e81bd56 |
|
MD5 | 49e05ea666a8a03f86eeed6dcf17a511 |
|
BLAKE2b-256 | 754cddb5d3ee1f42f8b796518c2c3c8aa9da21edb6917385d664fedd097443a5 |
File details
Details for the file jdk4py-21.0.4.2-py3-none-manylinux_2_17_x86_64.whl
.
File metadata
- Download URL: jdk4py-21.0.4.2-py3-none-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 33.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3b2fbfded8b023977aa8b4909c0f9897668a315060e7713610bce0757447707 |
|
MD5 | 0c2291e26eca4b1c490983c244ef0deb |
|
BLAKE2b-256 | 33b271e29c9943ddd59d57fcba9bae791c39ac3d8d6d88bf0543bd4c12e28323 |
File details
Details for the file jdk4py-21.0.4.2-py3-none-manylinux_2_17_aarch64.whl
.
File metadata
- Download URL: jdk4py-21.0.4.2-py3-none-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 33.3 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12cdccd593e586751aa2aabc82805b72da86a04f00acdadf8af8cd1cdfea86cc |
|
MD5 | a70827b6efe1f2b9a8e25699d9711ed8 |
|
BLAKE2b-256 | 2c32cba369f5c00495373b4de1ead5487b178b8cadee0c66049e8e13da53c1ff |
File details
Details for the file jdk4py-21.0.4.2-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: jdk4py-21.0.4.2-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 29.8 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f21dd70360341df4968e2c3a1978dd4b5ec725cd5c0f338f4b418f2e858312 |
|
MD5 | a9c8cd7b11bd18f694cd1017409c1afc |
|
BLAKE2b-256 | 0ba3f355d07c9360900350a99f0a41f274a9d15c36a017227389a87c1e66f4b9 |
File details
Details for the file jdk4py-21.0.4.2-py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: jdk4py-21.0.4.2-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 31.1 MB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.5.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0577795e70f69e5df92eceb05c0b584bd7512d6e479fad63d49c22362f31e9d |
|
MD5 | 1bf018b36aa04ab2079203b9d4b79a65 |
|
BLAKE2b-256 | 161b4067dca3b254dc7254292e5e73ebe147c61fd257583b50c575aaae8518b7 |