LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 02-23-2011, 01:56 PM   #1
kazmiM
LQ Newbie
 
Registered: Feb 2011
Posts: 16

Rep: Reputation: 0
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:

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
 
Old 02-23-2011, 03:23 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,754

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Did you either reload /etc/profile or fully log out and log in again after changing it ?
 
Old 02-23-2011, 03:24 PM   #3
kazmiM
LQ Newbie
 
Registered: Feb 2011
Posts: 16

Original Poster
Rep: Reputation: 0
I did exactly that, and It started working ..
Thanks for the suggestion though
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(OpenSuse 11.2) Installation and Configuration of Web / Mail Server mtmouse33 Linux - Server 1 02-17-2010 02:47 AM
Apache and PHP configuration problem in Virtual server ashwini.naidu Linux - Server 6 04-21-2009 11:52 PM
successful installation of mail server but has 2 problem drluong Linux - Server 2 03-05-2007 12:29 PM
Installing JAVA APACHE MAIL ENTERPRISE SERVER revanth_86 Linux - General 0 01-22-2007 09:09 AM
Apache James Problem ol1v3r Linux - Software 3 09-07-2005 05:54 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration