Packaged JDK for Python
Project description
Jdk4py
A packaged JDK for Python.
Install
Java is made easy to install as a single pip library:
pip install jdk4py
or as a Conda package:
conda config --add channels https://conda.atoti.io
conda install jdk4py
Versioning
jdk4py version contains 4 figures:
- The first 3 figures are the Java version
- The fourth is jdk4py specific: it starts at 0 for each Java version and then increases.
API
Execute a JAR
from jdk4py import execute_jar
execute_jar("myJar.jar")
Some JVM arguments can be provided, any additional argument will be passed to Popen:
execute_jar("myJar.jar", jvm_args=["-xmx=16G"], stdout=PIPE, stderr=PIPE)
Home and executable paths
The paths to the packaged Java home directory and to the Java executable are also accessible:
from jdk4py import JAVA, JAVA_HOME
The Java version can be checked with:
>>> from jdk4py import JAVA_VERSION
>>> JAVA_VERSION
'11.0.2'
Project details
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for jdk4py-11.0.9.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b897147cefad693528c6adcb0e9411f73d1d609c088634fd71694fdd733e4b96 |
|
MD5 | d2e97571429e859013cfc3ba5e1f43dd |
|
BLAKE2b-256 | 6393c4ed891dbf4d112932af9163db74eaabae59e1573e8abc1d7262ae02419d |
Close
Hashes for jdk4py-11.0.9.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ac9e7e19e4340e6bed86b574d949a40febf6ad2e1f6c2477952f2a6d048e46 |
|
MD5 | 03699e2dcb2fca9a57f1149398d6f3c0 |
|
BLAKE2b-256 | 780187c3e98481ada200afa15ebc30b88ab3d1c7693b27cac92e7edc3417e280 |
Close
Hashes for jdk4py-11.0.9.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2125698c043a243938398c97ebf428ec489d921bd1efb3494fa95c689e3ec945 |
|
MD5 | dae8a4cdbcb0433bf32ba694e95d6047 |
|
BLAKE2b-256 | 82b6112b72a3dac0f4824a7546522d8295437f5f8115e2bb4896e655e543faf9 |
Close
Hashes for jdk4py-11.0.9.0-2-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1979b27d0a60e6bed1c4b3854d20fde6fdd95fb84690b5dcfc0576ac64901841 |
|
MD5 | c6cff19c02793a94fd79f7f746914e67 |
|
BLAKE2b-256 | 288d1f6bb5d95165342d9e726f455ad1352561e33c06daf73fb7fe152ccf3b1e |
Close
Hashes for jdk4py-11.0.9.0-2-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0b9008e9b7a1e68f6ec30427786e4d6d5a6c9f57589a5f876e743b7b40fcd52 |
|
MD5 | df97170db015cb8fcb0a4689ab00c733 |
|
BLAKE2b-256 | 07469b47a67b1b642b02f9033f2db2ebdba4fa13d24f4df4a2faa19e65c1dcf9 |
Close
Hashes for jdk4py-11.0.9.0-2-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ef67fe57d4410639e76090c83412392f46efa8707d7446d8597d3053951b06e |
|
MD5 | d1b7f057224eef691dedb18ed678bb8b |
|
BLAKE2b-256 | 8e9e5059f1389d83f2dbee2615b0eb3e0ca32c2dcb0e177bcb364d04ba14213e |
Close
Hashes for jdk4py-11.0.9.0-1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a7f9710e44588ae2017d47e125e3fdb61d41ca366b32c48c44507493ff75a84 |
|
MD5 | f2ca518cc6e504f9cb208b9830f44b6b |
|
BLAKE2b-256 | da5b3f7f6574ff2d8422dd5fde7818367cfb0c2f095efe3f4318dc9680febd2f |
Close
Hashes for jdk4py-11.0.9.0-1-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ef4a1a84f62de568a5441f32a7f97beb5288899040cc8b6ef684285b4792c75 |
|
MD5 | 03bc2a7f8936993dc9782d66cf4ee7a5 |
|
BLAKE2b-256 | 0d1fd0967592836b883f548f67023c2c08341638f24f21d7f1f7804c7b5c3c38 |