Issue1049938
Created on 2004-10-19.10:46:05 by anonymous, last changed 2009-03-12.06:36:07 by zyasoft.
| Messages | |||
|---|---|---|---|
| msg941 (view) | Author: Nobody/Anonymous (nobody) | Date: 2004-10-19.10:46:05 | |
I am using: jython 2.1 on debian sarge (NB: NOT the debian package, but the normal jython linux dist installed from the .class) with the sun jdk: uname -a says: Linux cave 2.6.8-1-686 #1 Sat Aug 28 14:11:39 EDT 2004 i686 GNU/Linux java -version says: java version "1.4.2_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) It seems that passing -Djava.library.path=xxx does not have an effect (see interpreter session below) iwan@cave:~$ jython-2.1/jython -Djava.library.path=abc Jython 2.1 on java1.4.2_06 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> from java.lang import * >>> System.getProperty('java.library.path') '/usr/lib/j2sdk1.4-sun/jre/lib/i386/client:/usr/lib/j2sdk1.4-sun/jre/lib/i386:/usr/lib/j2sdk1.4-sun/jre/../lib/i386' >>> This is quite severe, since setting LD_LIBRARY_PATH for finding shared libraries also does not work... -Iwan Vosloo (iwan@global.co.za) |
|||
| msg942 (view) | Author: Brian Zimmer (bzimmer) | Date: 2005-02-23.04:49:46 | |
Logged In: YES
user_id=37674
The -D argument is being sent to jython, not the JVM. You'll need to
send the argument to the JVM like this:
$ java -Djava.library.path=abc -jar jython.jar
Jython 2.2a1 on java1.4.2_05 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> from java.lang import *
>>> System.getProperty('java.library.path')
'abc'
>>>
I suggest writing a new wrapper script which allows for setting this
variable.
|
|||
| msg943 (view) | Author: Alan Kennedy (amak) | Date: 2007-05-19.18:35:13 | |
This bug should be closed. bzimmer's comment about modifying or writing a new jython shell script is correct. All the user has to do is change the existing invocation script to add the requisite -D option, as brian z suggested, or simply invoke jython directly, as brian shows java -Djava.library.path=abc -jar jython.jar |
|||
| msg4223 (view) | Author: Jim Baker (zyasoft) | Date: 2009-03-12.06:36:06 | |
Closing this bug, based on Alan's comment. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-03-12 06:36:07 | zyasoft | set | status: open -> closed resolution: invalid messages: + msg4223 nosy: + zyasoft |
| 2004-10-19 10:46:05 | anonymous | create | |
Supported by Python Software Foundation,
Powered by Roundup