Don't use parenthetical comments within <screen>,
but be more verbose about shells and environment vars.
This commit is contained in:
parent
877fa106c8
commit
370f0df996
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=14118
1 changed files with 9 additions and 4 deletions
|
@ -428,11 +428,16 @@ MD5 (bsd-jdk131-patches-6.tar.gz) = 9cade10b81d6034fdd2176bef32bdbf9</programlis
|
|||
<step>
|
||||
<para>Set an environment variable <envar>JAVA_HOME</envar>
|
||||
which, points to the directory where you have installed the
|
||||
JDK (the below example points to a native build of the
|
||||
JDK):</para>
|
||||
JDK (the examples below point to a native build of the
|
||||
JDK). If you are using &man.sh.1; as your shell, you can set
|
||||
<envar>JAVA_HOME</envar> with:</para>
|
||||
|
||||
<screen>&prompt.root; setenv JAVA_HOME /usr/local/jdk1.3.1 (for C Shells)
|
||||
&prompt.root; export JAVA_HOME=/usr/local/jdk1.3.1 (for Bourne Shells)</screen>
|
||||
<screen>&prompt.root; export JAVA_HOME="/usr/local/jdk1.3.1"</screen>
|
||||
|
||||
<para>Those who use &man.csh.1; or a compatible shell, must use a
|
||||
slightly different command:</para>
|
||||
|
||||
<screen>&prompt.root; setenv JAVA_HOME /usr/local/jdk1.3.1</screen>
|
||||
|
||||
<para>This environment variable should be made permanent by
|
||||
adding it into either <filename>.profile</filename> or
|
||||
|
|
Loading…
Reference in a new issue