Skip to main content

Packaged JDK for Python

Project description

jdk4py

A packaged JDK for Python.

PyPI version

Install

Java is made easy to install as a single Python package:

pip install jdk4py

or as a Conda package:

conda config --add channels https://conda.atoti.io
conda install jdk4py

Usage

>>> from jdk4py import JAVA, JAVA_HOME, JAVA_VERSION
>>> JAVA_HOME
PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime')
>>> JAVA
PosixPath('/Users/johndoe/dev/jdk4py/jdk4py/java-runtime/bin/java')
>>> JAVA_VERSION
(17, 0, 9)
>>> from subprocess import check_output
>>> some_java_options = ["-Xmx16G", "-Xms2G"]
>>> check_output([str(JAVA), "-jar", "HelloWorld.jar",  *some_java_options])
b"Hello, World!"

Versioning

jdk4py's version contains 4 numbers:

  • The first 3 numbers are the Java version.
  • The fourth is jdk4py specific: it starts at 0 for each Java version and then increases.

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

jdk4py-17.0.9.2-0-py3-none-win_amd64.whl (34.2 MB view details)

Uploaded Python 3Windows x86-64

jdk4py-17.0.9.2-0-py3-none-manylinux1_x86_64.whl (37.8 MB view details)

Uploaded Python 3

jdk4py-17.0.9.2-0-py3-none-macosx_11_0_arm64.whl (34.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

jdk4py-17.0.9.2-0-py3-none-macosx_10_9_x86_64.whl (35.2 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file jdk4py-17.0.9.2-0-py3-none-win_amd64.whl.

File metadata

  • Download URL: jdk4py-17.0.9.2-0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 34.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for jdk4py-17.0.9.2-0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f8d8bb10f721aee7ec6ad85409b241e2d6b490afb314da921ad3efd9ff7b8197
MD5 d0961a4f30e215dd53ae779954f9a95a
BLAKE2b-256 a2c71dd772f63700fb250c6c5840364e7a947ed103b3409bc4aef03dc957c5fb

See more details on using hashes here.

File details

Details for the file jdk4py-17.0.9.2-0-py3-none-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for jdk4py-17.0.9.2-0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d9e5235e110182b9291ea09da413309b19dcf12d104d9aa3624abe210e593d7c
MD5 686a0b604f0819bfd428b5b45205d07a
BLAKE2b-256 ab917e856a437beabdcf100ceec6754ffa84f505c2e147b1dbdc2d0330ab39bd

See more details on using hashes here.

File details

Details for the file jdk4py-17.0.9.2-0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jdk4py-17.0.9.2-0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cbf41a85ff71a150228c5be77aae68a22aa16d50699a583078a8dad496d7e62a
MD5 715b119465f67f1ca19b982dea3f6aa1
BLAKE2b-256 12d341fbb119a6066f393ad369fc21086793e90dc92ed96e0715af66caa05038

See more details on using hashes here.

File details

Details for the file jdk4py-17.0.9.2-0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for jdk4py-17.0.9.2-0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e2749a119c93ec40b5e1b0028590508077b6eb6585ee16e8ffba702c5ae6b13c
MD5 4eb1ae06676686207d2e564d180725c3
BLAKE2b-256 b26630fc8ae990722de305fd4e89e8ca174b3f6881d5f84ca32883680eb7c09c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page