Skip to content


Switch branches/tags

Latest commit

    Add windows-2019 to jobs.test.strategy.matrix.os
    In Windows, readline end with \r\n, use os.linesep instead of 1
    In windows stdout, \n will be replaced by \r\n
    In Java, System.out.println will output \r\n
    So, \r\n will be replaced by \r\r\n
    Use System.out.print to avoid platform differences
    I didn't think of a good way to solve it, maybe should open a new issue to trace it.

Resolves #484

Co-authored-by: Hyukjin Kwon <>

Git stats


Failed to load latest commit information.


Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as if the Java objects resided in the Python interpreter and Java collections can be accessed through standard Python collection methods. Py4J also enables Java programs to call back Python objects.

The latest compiled release is available in the current-release directory.

This is the source repository of Py4J projects. Please visit the Py4J homepage for more information.

For help, register and then post to the Py4J mailing list at py4j at py4j dot org


Py4J is distributed with the BSD 3-Clause license. See LICENSE.txt for more information.


We are always happy to receive code contributions, bug reports, and documentation fixes. Please visit the contributing guide for more information.