Sponsored Content
Operating Systems Solaris JAMES (Java Apache Mail Enterprise Server) - Installation/Configuration Problem Post 302499175 by kazmiM on Wednesday 23rd of February 2011 01:51:51 PM
Old 02-23-2011
JAMES (Java Apache Mail Enterprise Server) - Installation/Configuration Problem

Good Afternoon Intelligent Administrators/Debuggers!

I am installing JAMES on an internal server (192.168.2.33)
Specs of xxx.xxx.xxx.33 = SunOS v210b 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V210

After placing and "gunziping" the respective file, I am trying to run it by:

Code:
bin/run.sh

and it's giving me the following error:

Quote:
ERROR: JAVA_HOME not found in your environment.

Please, set the JAVA_HOME variable in your environment to match the
location of the Java Virtual Machine you want to use.
I have just edited my /etc/profile and included

Quote:
JAVA_HOME=/usr/java

export JAVA_HOME
Though this does not seem to have any effect since I am getting the same error again.

Any ideas as to what else needs to be done to set the JAVA_HOME variable to get this working? Any help will be greatly appreciated.

Thanks in advance Smilie
 

9 More Discussions You Might Find Interesting

1. Solaris

Problem booting Sun ultra enterprise 450 server

Hi, I have a sun ultra enterprise 450 server. This server powers on and a white screen appears with the system and network information. But it doesnot boot up completely. Booting operation wil be halted by a warning: \usr\sbin\fsck not found. Most likely the mount of \usr failed or the... (5 Replies)
Discussion started by: tgashwini
5 Replies

2. AIX

send mail configuration in AIX server

Hi All, How to configure sendmail service in AIX server ? Please tell me what all changes has to be made in sendmail.conf file. Please help in this issue to configure it. Thanks jack (1 Reply)
Discussion started by: jack00423
1 Replies

3. UNIX for Dummies Questions & Answers

DNS mail server configuration

Hello fellow unix dudes, I have a question on DNS. Basically the error is my domain.com server can not send email to my mail.domain.com server. I have a virtual server with one IP say 192.10.11.12 and a mail server with iP 172.4.5.6 When the virutal server on ip 192.10.11.12 was setup,... (0 Replies)
Discussion started by: photon
0 Replies

4. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

5. Solaris

Apache Server installation

Hi, can we install two diferent versions of apache on same server for different applications? (1 Reply)
Discussion started by: madhudeva
1 Replies

6. Programming

Java 7 installation problem

Hi, I am trying to install java7.6 on redhat 6.2 but got the below error message. In fact this error comes up for all the supported OS of JDK 7 and JRE 7. I am running this as root and I dont have any other Java version installed. # rpm -i jre-7u6-linux-x64.rpm Unpacking JAR files... ... (5 Replies)
Discussion started by: nvk_vinoth
5 Replies

7. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies

8. Solaris

Configuration of jump start/NFS server for sol10/sol11 OS installation.

Hi folks, Is it possible to configure Solaris OS install server with NFS method and flar images? I want to configure a kind of jump start server to install flar images. Since there is no support for flar images in soalris11, It is possible to configure single server to install OS on both... (2 Replies)
Discussion started by: Vaishey
2 Replies

9. SuSE

Suse enterprise server installation help

hello All, good day to you. could you tell me is there any way I can download SUSE lunux enterprise server trail version ? I want to install sap application over it. thanks in advance. (1 Reply)
Discussion started by: Leaner_963
1 Replies
java_home(1)						      General Commands Manual						      java_home(1)

NAME
java_home - return a value for $JAVA_HOME SYNOPSIS
/usr/libexec/java_home [options] DESCRIPTION
The java_home command returns a path suitable for setting the JAVA_HOME environment variable. It determines this path from the user's enabled and preferred JVMs in the Java Preferences application. Additional constraints may be provided to filter the list of JVMs avail- able. By default, if no constraints match the available list of JVMs, the default order is used. The path is printed to standard output. OPTIONS
-v or --version version Filters the returned JVMs by the major platform version in "JVMVersion" form. Example versions: "1.5+", or "1.6*". -a or --arch architecture Filters the returned JVMs by the architecture they support. Example architectures: "i386", "x86_64", or "ppc". -d or --datamodel datamodel Filters the returned JVMs capable of running in 32 or 64-bit mode. Supported datamodels: "-d32" and "-d64". Specifying a datamodel is synonymous with specifying a particular architecture. -t or --task task Selects from the list of JVMs which can run a specific task. The order of each of these lists is set by the Java Preferences appli- cation. Supported tasks: "Applets", "WebStart", "BundledApp", "JNI" and "CommandLine". The default task is "CommandLine". -F or --failfast Immediately fails when filters return no JVMs; does not print out the path to the default $JAVA_HOME. --exec command ... Executes the command at $JAVA_HOME/bin/<command> and passes the remaining arguments. Any arguments to select which $JAVA_HOME to use must precede the --exec option. -X or --xml Prints the list of selected JVMs and associated properties as an XML plist to stdout. -V or --verbose Prints the matching list of JVMs and architectures to stderr. -h or --help Brief usage information. USAGE
/usr/libexec/java_home helps users set a $JAVA_HOME in their login rc files, or provides a way for command-line Java tools to use the most appropriate JVM which can satisfy a minimum version or architecture requirement. The --exec argument can invoke tools in the selected $JAVA_HOME/bin directory, which is useful for starting Java command-line tools from launchd plists without hardcoding the full path to the Java command-line tool. Usage for bash-style shells: $ export JAVA_HOME=`/usr/libexec/java_home` Usage for csh-style shells: % setenv JAVA_HOME `/usr/libexec/java_home` 04 August 2010 java_home(1)
All times are GMT -4. The time now is 08:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy