Menu

#164 Change references to python.exe or java.exe for linux

open
nobody
None
4
2006-08-22
2006-08-21
No

When starting a Jython program under Linux (Debian), I
get the message
*sys-package-mgr*: can't create package cache dir,
'/usr/share/java/cachedir/packages'
That is correct, as I am not priviliged to write there.

The solution is to tell Jython where to write the
cache. This can be done by setting the python.cachedir
property. Unfortunately, within PyDev, there is no way
to pass additional „arguments“ to the Jython JAR.

Discussion

  • Michael Piefel

    Michael Piefel - 2006-08-21

    Logged In: YES
    user_id=132590

    Sorry, I was easy to misunderstand. Of course it is possible
    to pass VM arguments in the in the Run configuration. But
    this has to be done by hand for each Run configuration; the
    default Right click->Run As->Jython Run won’t work.

    (BTW: In the run configuration dialog, there are references
    to python.exe and java.exe. These exist only under Windows,
    not under Linux or MacOS. Perhaps you might want to find a
    more neutral term.)

     
  • Michael Piefel

    Michael Piefel - 2006-08-21
    • labels: --> 765066
    • priority: 5 --> 4
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2006-08-22

    Logged In: YES
    user_id=617340

    Ok, using bug for feature-request.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2006-08-22
    • labels: 765066 -->
    • summary: Jython and non-writable package cache --> Change references to python.exe or java.exe for linux
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.