{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"}],"enrichment":{"capability":"Bundles a JDK runtime into a Python package, providing direct access to Java executables and environment variables for running Java applications from Python code.","skillfed_tags":["java-interop","runtime-bundling"],"use_cases":["Run Java JAR files or applications from a Python script without requiring users to install Java separately.","Build Python tools that wrap or orchestrate Java libraries, passing JVM options like heap size through subprocess.","Deploy containerized Python applications that need Java runtime without adding a separate JDK layer.","Test Java code from a Python test suite by invoking the bundled java executable.","Distribute cross-platform Python packages that depend on Java without asking users to manage JDK installation."],"what_it_does":"jdk4py packages a Java Development Kit as a Python library, eliminating the need to install Java separately on your system. When you install it via pip, you get a self-contained JDK binary that the package exposes through Python constants: JAVA (the path to the java executable), JAVA_HOME (the JDK root directory), and JAVA_VERSION (a tuple of version numbers). The package is versioned with four numbers\u2014the first three match the bundled JDK version, and the fourth tracks the library's own API changes.\n\nYou use it by importing those constants and passing them to subprocess calls or other tools that need to invoke Java. It has no runtime dependencies beyond Python itself, and it ships pre-built wheels for macOS (Intel and ARM), Linux (x86_64 and ARM64), and Windows (x86_64). The project is actively maintained and marked production-stable, with a copyleft GPLv2 license that requires compliance if you redistribute or link it into your own software.","worth_installing":"Yes, if you need to run Java from Python and want to avoid separate JDK installation. The package is actively maintained, production-stable, and supports current Python versions on major platforms. The copyleft license is a consideration for proprietary or redistributed software. Medium install friction (platform-specific wheels, bundled binary) is typical for this use case and not a blocker."},"id":"jdk4py","links":{"html":"https://skillfed.io/packages/jdk4py","md":"https://skillfed.io/packages/jdk4py.md","pypi":"https://pypi.org/project/jdk4py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-23","license_spdx":null,"license_treatment":"copyleft","name":"jdk4py","python_support":"supports_current","summary":"A JDK shipped in a Python package"},"popularity":{"monthly_downloads":358910,"position":7256,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"25.0.2.1"}
