I want to call java code from my python script on a windows 8 machine.
During my research, I have found the following approaches:
- jpype
- pyjnius
- javabridge
- py4j
but I wasn't able to get any of the above to work, so far: Most packages are only available for linux distributions only, or have some other constraints (only 32bit, not working after conda convert from linux to windows, etc.)
Does anyone know an easy solution for calling java code from python on windows 8, 64 bit?
asked Feb 2, 2015 at 12:08
Oblomov
9,73524 gold badges67 silver badges111 bronze badges
-
Do you want to call the java and don't care about it anymore? Or do you need also the output of the java programm to process in your py code later?jPO– jPO2015年02月02日 12:16:15 +00:00Commented Feb 2, 2015 at 12:16
-
I want to be able to work with java objects within the script.Oblomov– Oblomov2015年02月02日 12:21:28 +00:00Commented Feb 2, 2015 at 12:21
1 Answer 1
I have just gotten jpype to work.
See the following blog-post for more information:
answered Feb 2, 2015 at 12:23
Oblomov
9,73524 gold badges67 silver badges111 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
default