10-28-2010
Yes, but why such an old JAVA? JAVA is generally forward compatible. Later versions not only have richer APIs, they often have better run time options and performance and fewer bugs.
JAVA in UNIX can be anywhere, pointed to by env variables, like $PATH pointing to the bin directory with the java, javac, jar wrappers. Apache is similar, floating on the dir in the env.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when i run
#./configure --prefix=/usr/local/apache
then have an error
Creating Makefile in src
+ configured for IBM AIX 4.2 platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated
How could i find c compilers? help... (3 Replies)
Discussion started by: chiyx
3 Replies
2. UNIX for Dummies Questions & Answers
I have just been made responsible for setting up Apache on our office SCO
box. I have searched the internet, but
haven't found any details that I can make
sense of. I'm unfamiliar with Unix and would appreciate any help members of
the forum have to offer. (1 Reply)
Discussion started by: cstovall
1 Replies
3. UNIX for Advanced & Expert Users
hi all expert, can antone tell me ho to install apache-1.3.20-16.src.rpm into redhat 7.3. I ready try many many time and using many method i still can not install this apache.
Please help me................................... (1 Reply)
Discussion started by: foong
1 Replies
4. Web Development
Is there any cheap hosting service that allow me to compile and install my own apache and php ?
thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies
5. UNIX for Dummies Questions & Answers
I want to setup apache tomcat on my linux distribution .
I Have downloaded apache tomcat from below mentioned link.
Administration Web Application:
Apache Tomcat - Apache Tomcat 5 Downloads
The setup was in following format.
apache-tomcat-5.5.29-admin.tar.gz
Below are the command i... (7 Replies)
Discussion started by: pinga123
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box.
I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one.
Please help.
Ali. (5 Replies)
Discussion started by: ali40
5 Replies
7. Solaris
How can I install a new version of jre on a local zone? Since /usr is not writable in a local zone)? pls advise
solaris10 sparc
---------- Post updated at 03:51 PM ---------- Previous update was at 02:34 PM ----------
jdk6 i mean (6 Replies)
Discussion started by: lhareigh890
6 Replies
8. UNIX for Dummies Questions & Answers
My current apache has the following listing.
ls
admin bin cgi corefiles htdocs include logs manual openssl
build conf error icons lib man modules
It has httpd.conf inside the conf directory and many .so files... (6 Replies)
Discussion started by: mohtashims
6 Replies
9. Solaris
Ok who wants to play with this server and assist me? I'm super stuck and need to get it up and running. :) (6 Replies)
Discussion started by: Ragingbull
6 Replies
10. Solaris
Hi all,
This is Solaris 10 OS
I received this error
on Server,
-bash-3.00$ /usr/local/apache2/bin/httpd -v
ld.so.1: httpd: fatal: libaprutil-1.so.0: open failed: No such file or directory
Killed
-bash-3.00$
How to resolve this dependencies which are not resolved?
... (0 Replies)
Discussion started by: manalisharmabe
0 Replies
env(1) User Commands env(1)
NAME
env - set environment for command invocation
SYNOPSIS
/usr/bin/env [-i | -] [name=value...] [ utility [ arg... ]]
/usr/xpg4/bin/env [-i | -] [name=value...] [ utility [ arg... ]]
DESCRIPTION
The env utility obtains the current environment, modifies it according to its arguments, then invokes the utility named by the utility op-
erand with the modified environment.
Optional arguments are passed to utility. If no utility operand is specified, the resulting environment is written to the standard output,
with one name=value pair per line.
/usr/bin
If env executes commands with arguments, it uses the default shell /usr/bin/sh (see sh(1)).
/usr/xpg4/bin
If env executes commands with arguments, it uses /usr/xpg4/bin/sh (see ksh(1)).
OPTIONS
The following options are supported:
-i | - Ignores the environment that would otherwise be inherited from the current shell. Restricts the environment for utility to
that specified by the arguments.
OPERANDS
The following operands are supported:
name=value Arguments of the form name=value modify the execution environment, and are placed into the inherited environment before
utility is invoked.
utility The name of the utility to be invoked. If utility names any of the special shell built-in utilities, the results are unde-
fined.
arg A string to pass as an argument for the invoked utility.
EXAMPLES
Example 1: Invoking utilities with new PATH values
The following utility:
example% env -i PATH=/mybin mygrep xyz myfile
invokes the utility mygrep with a new PATH value as the only entry in its environment. In this case, PATH is used to locate mygrep, which
then must reside in /mybin.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of env: LANG, LC_ALL, LC_CTYPE, LC_MES-
SAGES, and NLSPATH.
PATH Determine the location of the utility. If PATH is specified as a name=value operand to env, the value given shall be used in the
search for utility.
EXIT STATUS
If utility is invoked, the exit status of env is the exit status of utility. Otherwise, the env utility returns one of the following exit
values:
0 Successful completion.
1-125 An error occurred.
126 utility was found but could not be invoked.
127 utility could not be found.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
/usr/bin
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |enabled |
+-----------------------------+-----------------------------+
/usr/xpg4/bin
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWxcu4 |
+-----------------------------+-----------------------------+
|CSI |enabled |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
ksh(1), sh(1), exec(2), profile(4), attributes(5), environ(5), standards(5)
SunOS 5.10 2 Jan 2002 env(1)