JAVA/ubuntu:修订间差异
来自康健生活
无编辑摘要 |
|||
| 第25行: | 第25行: | ||
if [ "${PS1-}" ]; then | if [ "${PS1-}" ]; then | ||
if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then | if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then | ||
</syntaxhighlight>|<syntaxhighlight lang="javascript"> | </syntaxhighlight> | ||
|<syntaxhighlight lang="javascript"> | |||
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) | # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) | ||
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). | # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). | ||
| 第35行: | 第36行: | ||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||
sudo source /etc/profile</syntaxhighlight>|$}} | sudo source /etc/profile</syntaxhighlight>|$}} | ||
== oracle == | == oracle == | ||
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | ||