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
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)
Java home and executable
The path to the packaged Java home folder and to 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 Distribution
jdk4py-11.0.7.0.tar.gz
(2.8 kB
view hashes)
Built Distributions
Close
Hashes for jdk4py-11.0.7.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0183cda64b79b20ad2bd8776390a3c979caee7ac5412f327bbca161ad79b3e97 |
|
MD5 | 5c45462f8711f9242818901d655721f9 |
|
BLAKE2b-256 | 88ccacb5608ed2d5bce3cf13b1e9a5fec0d78c0e440b62796edcaf5160406e9b |
Close
Hashes for jdk4py-11.0.7.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 056cfb258377619b3d8a8e2e790a5f510c245191b0db82477c619066dcf437fe |
|
MD5 | 4e4c6af8a08cf4e774410fc15b6e75b7 |
|
BLAKE2b-256 | 6028ac0aa0f32e863775c91f32b3ef1da46abf76700af67d626dab790f3b55f2 |
Close
Hashes for jdk4py-11.0.7.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0881b74503c8a77e0157118e18e4833d0d6bb0e6f31cabe72f6ab7d159d015ce |
|
MD5 | 34f4d7b4b777fbce4874dd947ec4d7df |
|
BLAKE2b-256 | 873d4f3eccbbd6fcce813636dffb27f6b6a99a46fd11d7a189b155576d17c68b |