Barthelemy Dagenais
Barthelemy Dagenais
Hi, currently, it is not possible to shutdown the python side from the java side. The only way to achieve this would be to create an interface in java (e.g.,...
You can use [get_java_class](https://www.py4j.org/py4j_java_gateway.html#py4j.java_gateway.get_java_class) or Class.forName: ```python In [1]: from py4j.java_gateway import JavaGateway, get_java_class In [2]: gateway = JavaGateway() In [3]: Long = gateway.jvm.Long In [4]: long_class = get_java_class(Long) In...
Did the get_java_class or Class.forName resolved your issue?
Apologies for the long delay. When you call a constructor in Py4J, the constructor is automatically called through reflection and arguments are converted to appropriate types. It is not possible...
This is indeed a strange error and I'm not entirely sure what's going on. Once you get the "does not exist in the JVM" error, does it stops everything or...
Hi, this is currently a limitation of Py4J and there is no easy way to get around that. As you noticed, the merge of int and long type in Python...
@colemast can you provide more information (e.g., py4j version used, code, etc.?). Thanks!
Which version of Py4J, Java, and Python are you using? When you restart the Java process, does the code run or does it raise an exception? What is the stack...
Hi, I did a quick test on MacOSX and I could restart the Java Server without issues: ``` # Starting Java Server java -cp build/libs/py4j-tests-0.10.0.jar py4j.exampl.ExampleApplication ``` ``` python from...
Thank you very much for the information. I will try it on a windows VM then.