File: README.TXT

package info (click to toggle)
python-jpype 0.5.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,220 kB
  • sloc: cpp: 11,011; xml: 1,998; python: 1,677; java: 447; sh: 3; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 921 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
The 2 scripts in this derectory are here to resolve a weakness in the linux implementation.

Since the JVM is loaded dynamically, the LD_LIBRARY_PATH may not contain the proper directories. 

Unfortunately, dlopen() will ignore any changes made to the LD_LIBRARY_PATH in the current process.

The jpype.sh is meant as an example for people redistributing apps using jpype. Instead of having 
users launch python script.py directly, have then launch script.sh. The companion finjvm.py can be 
delivered along your app, but is also present in the ptyhon distribution of jpype.

Developpers are encouraged to make their lives simpler by adding the correct directories to their 
LD_LIBRARY_PATH directly.

To learn more about the dlopen problem, you can look at :

http://forum.java.sun.com/thread.jsp?forum=52&thread=303583&message=1210441

and

http://www.nathanr.net/diary/index.php?year=2004&month=05