Change references to python.exe or java.exe for linux
Brought to you by:
fabioz
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.
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.)
Logged In: YES
user_id=617340
Ok, using bug for feature-request.