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.1.tar.gz
(2.8 kB
view hashes)
Built Distributions
Close
Hashes for jdk4py-11.0.7.1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 546b90457d57dc4467353859a331c3b014efd63e7719e50d3ce039ea0cee5aaf |
|
MD5 | a19d10080cb7f1f92d90671a21000cdf |
|
BLAKE2b-256 | ad1a70e8ab1942652382d0d7d2e2cd7e37f7fe3a90d6de323a3d667dc912cfdb |
Close
Hashes for jdk4py-11.0.7.1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8f6dfcf2ea2585bb7aa0ee8b6db646926c4adf13823ab80e867a9750c8276be |
|
MD5 | 4bebb779a43b882b81bc7ca55242f121 |
|
BLAKE2b-256 | d8fa9ffdc5da4183fd616a312cfc7379e1c219cdce0cadf3cd702239eea738d4 |
Close
Hashes for jdk4py-11.0.7.1-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f032ae6ff3965c125cbda0142b33d74f8a633ee1a345937828b2618c858c1021 |
|
MD5 | 0f40bace799788c5add6a79d1e9a2797 |
|
BLAKE2b-256 | dd71d5a1e7047a5d3f4d02f3ff42c75ffd1e3774c952fff09f550696ead14aac |