Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Accessing JVM from python

Current License: CC BY-SA 3.0

29 events
when toggle format what by license comment
Sep 5, 2019 at 22:47 answer added Hamid Heydarian timeline score: 1
Dec 21, 2018 at 0:21 answer added frage timeline score: 2
Dec 26, 2015 at 7:48 vote accept Abhishek Bhatia
S Aug 28, 2015 at 13:18 history bounty ended Community Bot
S Aug 28, 2015 at 13:18 history notice removed Community Bot
Aug 25, 2015 at 12:28 answer added knight timeline score: 3
Aug 22, 2015 at 10:25 answer added dsgdfg timeline score: 3
Aug 22, 2015 at 6:19 comment added yshavit The problem with jython is that a lot of python stuff doesn't work with it (a lot of the more advanced modules out there use C extensions). I've had good initial success with jpype, though I haven't used it super extensively.
Aug 21, 2015 at 15:32 comment added Prof. Falken @AbhishekBhatia, I am saying that you if you had Jython, you could import any Java library.
Aug 21, 2015 at 14:03 comment added Abhishek Bhatia @Prof.Falken Sorry I don't exactly understand. Please explain Jython jar file inside your Java project. Are you talking about the boilerpipe library here or my script which uses boilerpipe.
Aug 21, 2015 at 11:58 comment added Prof. Falken @AbhishekBhatia, no, not exactly. You install it to already present Java installation. Or you just include the Jython jar file inside your Java project. Then nothing at all needs to be installed. jython.org/downloads.html
Aug 21, 2015 at 7:08 comment added Abhishek Bhatia @Prof.Falken I don't want to install another python distribution. Is it possible to install Jython to already present python version. If that makes some sense.
Aug 20, 2015 at 13:41 history edited Abhishek Bhatia CC BY-SA 3.0
added 36 characters in body
Aug 20, 2015 at 13:18 comment added Prof. Falken Also you don't say what the problem is with the last example.
Aug 20, 2015 at 13:04 comment added Prof. Falken Not an answer, but I would like to also recommend trying Jython. From Jython you can access everything in Java. What Jython is, is that you run Python inside Java and so direct access to everything inside Java.
Aug 20, 2015 at 11:38 comment added Abhishek Bhatia @ρss Okay done, please check and help if possible. Thanks.
S Aug 20, 2015 at 11:36 history bounty started Abhishek Bhatia
S Aug 20, 2015 at 11:36 history notice added Abhishek Bhatia Draw attention
Aug 20, 2015 at 11:36 history edited Abhishek Bhatia CC BY-SA 3.0
added 16 characters in body
Aug 17, 2015 at 14:59 comment added ρss @AbhishekBhatia Please update your question with the new tests that you have made, instead of mentioning them in a comment.
Aug 17, 2015 at 13:03 comment added Abhishek Bhatia @ρss Tried this. >>> from py4j.java_gateway import JavaGateway >>> gateway = JavaGateway() Still the same error.
Aug 17, 2015 at 11:00 comment added Abhishek Bhatia @ρss I am very new using java in python. How can this solve my issue? I just want to simply use this package.
Aug 17, 2015 at 10:04 review Close votes
Aug 20, 2015 at 11:36
Aug 17, 2015 at 9:48 comment added ρss stackoverflow.com/questions/3652554/calling-java-from-python
Aug 17, 2015 at 8:53 comment added Peter Lawrey Jython runs Python scripts inside the JVM. I assume there is more to it but this is designed and supported to work with the JVM it is running in.
Aug 17, 2015 at 8:40 comment added Abhishek Bhatia @PeterLawrey Thanks for comment! I am unaware of Jython. Should I just install it and run my python script again? Or there is more to it?
Aug 17, 2015 at 8:20 comment added Peter Lawrey Loading the JVM from a DLL is very hard even from C. I suggest you load the JVM using java from the command line or use Jython which runs in the JVM already.
S Aug 17, 2015 at 8:17 review Triage
Aug 17, 2015 at 8:19
S Aug 17, 2015 at 8:17 history asked Abhishek Bhatia CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /