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)
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 Distribution
jdk4py-11.0.7.3.tar.gz
(2.7 kB
view hashes)
Built Distributions
Close
Hashes for jdk4py-11.0.7.3-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1281f973436a12a23a8f03fa89987bfe7b6b479bced0e7ad84e9e94325b5969 |
|
MD5 | 1dd7e2a541a97221ab819b4e8ff04ea7 |
|
BLAKE2b-256 | 7f8742058ed22e925c56a7f6832a79d57f4c903063f10f426bc61c35c8372db0 |
Close
Hashes for jdk4py-11.0.7.3-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70371525d935e9cc3a05b83bd2fd35424a4adbc0e9ff67a4d188a58c0d5ece1c |
|
MD5 | d3dbb5cd155b2e15cfffabb7bdfb5ea5 |
|
BLAKE2b-256 | 03f39b4f7e53e50c8895cbcdd65f0089c5165bbf88430c16713b55740d90089d |
Close
Hashes for jdk4py-11.0.7.3-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abafcac684088eda48b33f458e23d5fd3fad118354002b6a9b272655814eb973 |
|
MD5 | 0b1460e80e288712ac3c0c0e330d9af1 |
|
BLAKE2b-256 | 0d89b2d876f91c56a6e0fd1f129f9b4206163161b2c54bf9b7752a3015734a6a |