Installing JPype

Jython is the default interoperability solution for Python and Java. However, Jython runs on the Java Virtual Machine, and therefore, cannot access NumPy modules because they are mostly written in C. JPype is an open-source project that tries to solve this problem. The interfacing occurs on the native level between the Python and Java virtual machines. Let's install JPype.

How to do it...

Follow the ensuing steps for installing JPype:

  1. Download JPype.

    Download JPype from http://sourceforge.net/projects/jpype/files/.

  2. Build JPype.

    Unpack JPype and run the following command:

    python setup.py install
    
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset