Metadata-Version: 2.1
Name: jdk4py
Version: 11.0.7.3
Summary: Packaged JDK for Python
Home-page: https://github.com/atoti/jdk4py
Author: atoti
Author-email: dev@atoti.io
License: UNKNOWN
Description: # Jdk4py
        
        A packaged JDK for Python.
        
        [![PyPI version](https://badge.fury.io/py/jdk4py.svg)](https://badge.fury.io/py/jdk4py)
        
        ## Install
        
        Java is made easy to install as a single pip library:
        
        ```bash
        pip install jdk4py
        ```
        
        ## API
        
        ### Execute a JAR
        
        ```python
        from jdk4py import execute_jar
        execute_jar("myJar.jar")
        ```
        
        Some JVM arguments can be provided, any additional argument will be passed to Popen:
        
        ```python
        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:
        
        ```python
        from jdk4py import JAVA, JAVA_HOME
        ```
        
        The Java version can be checked with:
        
        ```python
        >>> from jdk4py import JAVA_VERSION
        >>> JAVA_VERSION
        '11.0.2'
        ```
        
Keywords: jdk,java,jvm,jre
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.6
Description-Content-Type: text/markdown
