How to specify a unique java.io.tmpdir for each user of a multi-user Eclipse installation?

纵然是瞬间 提交于 2019-12-02 00:36:24

I suggested in my comment that you could make your own custom script to launch Eclipse. Even in a way that the same script may serve for every user:

/opt/eclipse/eclipse -vmargs -Djava.io.tmpdir=/tmp/eclipse/$USER

As @Little Santi advises in a comment, a customized per-user launcher can be used. You could specify the desired path as a command-line argument for a JVM:

/opt/eclipse/eclipse -vmargs -Djava.io.tmpdir=/tmp/eclipse/john_doe

To be on the safe side, make sure the specified directory exists and has correct ownership and access rights.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!