[arch-general] ibm java installation path environment

message letter at openmailbox.org
Sat Apr 19 05:27:14 EDT 2014


On 2014-04-18 12:42, arch-general-request at archlinux.org wrote:
> ------------------------------
> 
> Message: 8
> Date: Fri, 18 Apr 2014 14:42:40 +0200
> From: Heiko Becker <heikobecker92 at gmail.com>
> Subject: Re: [arch-general] ibm java installation path environment
> 
> Am 18.04.2014 14:35 schrieb "message" <letter at openmailbox.org>:
>> 
>> Readers,
>> 
>> IBM Java was installed into the directory 'usr/local':
>> 
>> $ /usr/local/java/jre/bin/java -version
>> java version "1.8.0"
>> Java(TM) SE Runtime Environment (build pxi3280ea-20130422_01)
>> IBM J9 VM (build 2.7, JRE 1.8.0 Linux x86-32 20130419_145797 (JIT
> enabled, AOT enabled)
>> J9VM - R27_Java827_Beta_3_20130419_2138_B145797
>> JIT  - r13.b02_20130419_36653
>> GC   - R27_Java827_Beta_3_20130419_2138_B145797
>> J9CL - 20130419_145797)
>> JCL - 20130410_01 based on Oracle jdk8-b80
>> 
>> The file 'bashrc' was edited:
>> 
>> GNU nano 2.2.6              File: ./.bashrc
>> 
>> # .bashrc
>> 
>> # User specific aliases and functions
>> 
>> # Source global definitions
>> if [ -f /etc/bashrc ]; then
>>         . /etc/bashrc
>> fi
>> export PATH=$PATH:/usr/local/bin
>> export JAVA_HOME=/usr/local/java/jre/bin/java
>> 

It is correct to add multiple paths to the export PATH command:

export PATH=$PATH:/usr/local/bin:/usr/local/java/jre/bin/java

--
digest-mode subscriber; please cc to maintain message thread


More information about the arch-general mailing list