我不使用Java的多那么什么是共同的(最佳实践)地点安装这样的组件。我希望把它们放在一个系统目录中,以便多个用户可以访问。
I don't use java much so what are the common (best practice) locations to install components like this. I want to put them in a system directory so multiple users have access.
常见的部位是 / OPT
, / SRV
和的/ usr /本地
。我往往倾向于的/ usr /本地
。
Common locations are /opt
, /srv
, and /usr/local
. I tend to lean toward /usr/local
.
需要注意的是Android SDK中并不真正需要安装多了,它主要是自成一体。所有你需要做的是告诉Eclipse在哪里。您可能还需要添加工具
和/或平台工具
目录全系统的路径,使您的用户可以使用亚行和其他工具。
Note that the Android SDK doesn't really require you to install much, it's mostly self-contained. All you need to do is tell Eclipse where it is. You may also want to add the tools
and/or platform-tools
directories to the system-wide PATH so that your users can use adb and other tools.
请参阅http://developer.android.com/sdk/installing.html.