A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/104221.html below:

ANNOUNCE: JPE, the Java-Python Extension

ANNOUNCE: JPE, the Java-Python Extension - first beta releaseFrederic Giacometti frederic.giacometti at arakne.com
Mon Apr 30 07:52:25 EDT 2001
Gerhard Häring wrote:

>
> Hmm, the build process was a little frustrating for me, but in the end it built
> (with a gazillion warnings). When I try to run the TestDND.py sample, I get the
> following error message on Linux (Sun or Blackdown JDK, using Python 2.1):
>
> jvmarg = ['-verbose:jni', '-Djava.library.path=.', '-Djava.class.path=.']
> jpe.c:432 dlopen </opt/j2sdk1.3.0/jre/lib/i386/server/libjvm.so>
> Error occurred during initialization of VM
> Unable to load native library: shared object not open
>
> Any idea?

I had the same problem on Linux.
If somebody could help find the solution... (this works fine on Windows).

To bypass the problem on Linux/Unix, you can use something like 'java python.PyRun
TestDND.py' (cf. example in 'make testjava').

python.PyRun.main() should let you run Python scripts from within Java.
By doing this way, you don't have to initialize Java from Python, something that
still fails on Linux/Unix, with the message you noted.

Regards,

FG




More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4