Possible Duplicate:
Calling Java from Python
I am not much familiar with java.. but i want to use a java library (3rd party) inside python.? Lets say I have three libraries.
foo.java,bar.java,foobar.java
And then.. they define classes and their contructor takes one variable each
int foo1, int bar1 respectively
Now.. foo.java and bar.java imports foobar.java
So basically.. i want to interact with foo.java and bar.java.. and then they interact with other java files..
How do i solve this.. I looked into other stackoverflow questions as well but most of them are like very high level questions for me whereas i feel i have a very simple need. any pointers thanks
asked Dec 24, 2012 at 2:37
frazman
33.5k82 gold badges194 silver badges283 bronze badges
-
1It's not going to be easy, unless you use Jython. If not then you probably have to make interface modules in C using JNI, or to find other similar libraries that exist already for Python or C.Some programmer dude– Some programmer dude2012年12月24日 02:40:09 +00:00Commented Dec 24, 2012 at 2:40
1 Answer 1
answered Dec 24, 2012 at 2:45
Jayamohan
13k2 gold badges31 silver badges41 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
default