Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling java code from python on windows 8

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?

like image 374
user1934212 Avatar asked Sep 12 '26 16:09

user1934212


1 Answers

I have just gotten jpype to work.

See the following blog-post for more information:

5 ways to call java code from python

like image 51
user1934212 Avatar answered Sep 14 '26 06:09

user1934212



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!