Hello,
i'm currently developing a python program and would like to access data from Java using Py4J. I would like to use Eclipse instead of NetBeans to do this. I had a success running the program using NetBeans but have difficulty using Eclipse.
According to Py4J documentation, I need to install some plug-ins before I can run Py4J on Eclipse. Since i'm a complete begineer in Java and Eclipse, could anyone please tell me all the steps I have to do in order to install the plugins and run py4j on eclipse.
I'm trying to run a single additional function on Py4j, this is what the code looks like (on NetBeans):
package py4j;
public class Py4j {
public int addition(int first, int second, int third) {
return first + second + third;
}
public static void main(String[] args) {
Py4j app = new Py4j();
GatewayServer server = new GatewayServer(app);
server.start();
}
}
Any help would be much appreciated! Thank you so much.
Best Regards,
Naz