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 java_jar
java_jar("myJar.jar")
Some JVM arguments can be provided, any additional argument will be passed to Popen:
java_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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for jdk4py-0.0.1.6-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e37d0d5c5f564ad06e1add2c74418dcfed2d36601ca680372395a9b082f508c |
|
MD5 | 1d9144197a02947320a6e06f222700aa |
|
BLAKE2b-256 | 6a27fcb2a1313518b45d2e6ebb7a1bcd7d3cdab29cefc5acf91f31c9f6135cd1 |
Close
Hashes for jdk4py-0.0.1.6-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7499783f11281173582b12fef37ceb4599e612db126b0cc6a0e00181ba9ab8b |
|
MD5 | 4bce05307557518c3d19e4174d6b5f3c |
|
BLAKE2b-256 | 249e722264c0a38aaf24e1c315c595b1be0199089f0b1f911cb087d67aed07ab |
Close
Hashes for jdk4py-0.0.1.6-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d1ffec8af97bcebb274351cb5e0ec0a0f438573a39ab2fd06fa916c9886e34 |
|
MD5 | 0fde6abbed9d42a1a49c14276e416973 |
|
BLAKE2b-256 | eac937544db6b6a8d320f72da56006774155aec47c3c9b8a4744c8408e6f2194 |