12-21-2010
It will be either the first one found in your $PATH or the one the user ( you?) has set in his environment...
10 More Discussions You Might Find Interesting
1. BSD
Hello
I try to install ports JRE on freebsd 4.11
So I Download manually in distfiles the j2sdk-1_4_2_06-linux-i586.bin
Then I tape make install in the jre ports it tell me that:
===> Vulnerability check disabled, database not found
===> Extracting for linux-sun-jdk-1.4.2.06_1
=> Checksum... (1 Reply)
Discussion started by: SoulCoder
1 Replies
2. Solaris
I'm attempting to install the Java JRE 1.4 on SunOS 5.8 box. I installed dozens of Sun patches without error, however when I download the JRE from sunsolve, I keep getting:
Do you agree to the above license terms?
yes
Unpacking...
Checksumming...
1
The download file appears to be... (2 Replies)
Discussion started by: FredSmith
2 Replies
3. Shell Programming and Scripting
Hi all,
Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue...
Thanks (3 Replies)
Discussion started by: XivaX
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am trying to install the Java Runtime Environment in Fedora 7.
However, according to articles such as this:
How to Install Java in Fedora Core 6 - Java Runtime Environment - Softpedia
I should have a plugin directory in the jre directory. I don't have that after running the... (1 Reply)
Discussion started by: user23
1 Replies
5. Programming
Perhaps this is the right forum for this question?
Hi,
I am trying to install the Java Runtime Environment in Fedora 7.
However, according to articles such as this:
How to Install Java in Fedora Core 6 - Java Runtime Environment - Softpedia
I should have a plugin directory in the jre... (3 Replies)
Discussion started by: user23
3 Replies
6. AIX
Hi,
I am new to AIX and working in AIX 5.3 and I want to install the JRE1.6 in the machine.So can I can anyone tell me where I will get it and how to install it on AIX machine..
Thanks in advance for your help.. (2 Replies)
Discussion started by: smartgupta
2 Replies
7. SCO
Hello, I have a problem to run the the Web aplication Cincom Mantis XML on a SCO 6.0 with MP2.
My Tomcat is 4.1.31
The Cincom support tell me tha I need the Apache Tomcat 5.5 and Java JRE 1.4.0
Can I install a linux version into SCO 6.0 system ?
Thank you for your help.
... (1 Reply)
Discussion started by: hrmaldonado
1 Replies
8. UNIX for Dummies Questions & Answers
How do you set the classpath for jre location....What are all the steps? (4 Replies)
Discussion started by: siddhans
4 Replies
9. UNIX for Advanced & Expert Users
I am having trouble getting my jre to work. I have uninstalled and reinstalled it several times but that is not working. I have setup the firefox symlink.
sudo ln -s /usr/java/jre1.7.0_21/lib/i386/libnpjp2.so
I have tried to follow these instructions.
... (4 Replies)
Discussion started by: cokedude
4 Replies
10. AIX
Dear Expert,
I'm will use the software monitoring server.
but need the JRE ( Java runtime 1.4 for aix 6.1)
I find at dvd aix doest exist, and find google I dont have the link location download.
please share location file or Java runtime 1.4 for aix 6.1.
regards,
~ruhul (1 Reply)
Discussion started by: williamen
1 Replies
Env(3pm) Perl Programmers Reference Guide Env(3pm)
NAME
Env - perl module that imports environment variables as scalars or arrays
SYNOPSIS
use Env;
use Env qw(PATH HOME TERM);
use Env qw($SHELL @LD_LIBRARY_PATH);
DESCRIPTION
Perl maintains environment variables in a special hash named %ENV. For when this access method is inconvenient, the Perl module "Env"
allows environment variables to be treated as scalar or array variables.
The "Env::import()" function ties environment variables with suitable names to global Perl variables with the same names. By default it
ties all existing environment variables ("keys %ENV") to scalars. If the "import" function receives arguments, it takes them to be a list
of variables to tie; it's okay if they don't yet exist. The scalar type prefix '$' is inferred for any element of this list not prefixed by
'$' or '@'. Arrays are implemented in terms of "split" and "join", using $Config::Config{path_sep} as the delimiter.
After an environment variable is tied, merely use it like a normal variable. You may access its value
@path = split(/:/, $PATH);
print join("
", @LD_LIBRARY_PATH), "
";
or modify it
$PATH .= ":.";
push @LD_LIBRARY_PATH, $dir;
however you'd like. Bear in mind, however, that each access to a tied array variable requires splitting the environment variable's string
anew.
The code:
use Env qw(@PATH);
push @PATH, '.';
is equivalent to:
use Env qw(PATH);
$PATH .= ":.";
except that if $ENV{PATH} started out empty, the second approach leaves it with the (odd) value "":."", but the first approach leaves it
with ""."".
To remove a tied environment variable from the environment, assign it the undefined value
undef $PATH;
undef @LD_LIBRARY_PATH;
LIMITATIONS
On VMS systems, arrays tied to environment variables are read-only. Attempting to change anything will cause a warning.
AUTHOR
Chip Salzenberg <chip@fin.uucp> and Gregor N. Purdy <gregor@focusresearch.com>
perl v5.18.2 2013-11-04 Env(3pm)