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, 7)
>>> 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.7.0-0-py3-none-win_amd64.whl (33.6 MB view details)

Uploaded Python 3Windows x86-64

jdk4py-17.0.7.0-0-py3-none-manylinux1_x86_64.whl (37.4 MB view details)

Uploaded Python 3

jdk4py-17.0.7.0-0-py3-none-macosx_11_0_arm64.whl (33.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

jdk4py-17.0.7.0-0-py3-none-macosx_10_9_x86_64.whl (34.8 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for jdk4py-17.0.7.0-0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 580778757f8ba3a6dbb0e9125964a1dee092990b872cf620d1e8c2ff55fe9308
MD5 c786c38be2628d81696dde37e8fcfd28
BLAKE2b-256 7ea184c050d71c160289147fae51721dcf67e078fdb59271739a9b6abca162f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jdk4py-17.0.7.0-0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 29bc2c803767bdfd5b4c53ab00cf23e2c56de6f32e3f1b5a66c1a401324d788e
MD5 e8681a7cd0bb7cdfb7c866b561610b24
BLAKE2b-256 5863ad693f58be0b8a9d2a8f79b92621acb90ff833f29f83891343f42321717f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jdk4py-17.0.7.0-0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 52bc93166fc27c91ec5d0e7cf5c8132ed033201c5bd5b5938c2fdfc9168233a4
MD5 ef983e499049a585095f505e513cfa8f
BLAKE2b-256 30c982f0761f1112af0b52b134bbf3ca9d6ec7a0b7eb805284ab483501ebf367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jdk4py-17.0.7.0-0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 22d8e100dbb7781cdc582160c278559fe3d4f70f1170fd5a601623111c8a086a
MD5 c2aae05f3c223068d790d24fc829a5ca
BLAKE2b-256 268501c10f520cbb4aed57ceb1ff2881332b85c616b7c44a10658033c95327b8

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