[prev in list] [next in list] [prev in thread] [next in thread]
List: opennms-install
Subject: [opennms-install] JAVA_HOME
From: "Stefaans Mostert (GBL)" <StefaansM () grindrodbank ! co ! za>
Date: 2015-08-31 6:47:48
Message-ID: 1441003668.3027.12.camel () stefaansm-nb ! grindrod ! net
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
[Attachment #4 (text/plain)]
<http://www.grindrodbank.co.za/Portals/JohannesburgOfficeMap.pdf>
<http://www.grindrodbank.co.za/Portals/JohannesburgOfficeMap.pdf>
Morning all
I installed newest version of opennms on Ubuntu.
Ver: 16.0.3
Java ver: 1.8.0_60 Oracle
Now....
if I look for java_home
root@dev-ops<mailto:root@dev-ops>:~# echo $JAVA_HOME
root@dev-ops<mailto:root@dev-ops>:~# echo $java_home
Nothing!
root@dev-ops<mailto:root@dev-ops>:/usr/share/opennms/bin# ./runjava -s
runjava: Looking for an appropriate JRE...
runjava: Checking for an appropriate JRE in JAVA_HOME...
runjava: skipping... JAVA_HOME not set
runjava: Checking JRE in user's path: "/usr/bin/java"...
runjava: found an appropriate JRE in user's path: "/usr/bin/java"
runjava: value of "/usr/bin/java" stored in configuration file
Yet when I cat the /etc/defaults/opennms file
cat /etc/default/opennms
# Set JAVA_HOME if it cannot be auto-detected
#JAVA_HOME=/usr/lib/jvm/java-8-oracle
JAVA_HOME='/usr/lib/jvm/java-8-oracle'
Is this normal or am I missing something?
Stefaans Mostert
Contractor: Linux System Administrator
T: +27 11 459 1804 Fourth Floor, Grindrod Tower, 8A Protea \
Place, Sandton
F: +27 11 459 1872 PO Box 78011, Sandton, Gauteng, 2146
[cid:image0d2c7d.GIF@b4093bba.4786309d]
www.grindrodbank.co.za
________________________________
This communication is intended for the addressee only, is privileged and confidential \
and unauthorised dissemination or copying is prohibited. The views and opinions \
expressed herein are those of the sender and do not necessarily represent those of \
Grindrod Bank Limited and/or its affiliates unless otherwise stated or agreed to in \
writing. All electronic communications are subject to important restrictions, \
qualifications and disclaimers ("Disclaimer") found at the following \
link<http://www.grindrodbank.co.za/Pages/TermsAndConditions>. Such disclaimer is \
deemed to form part of the content of this communication in terms of Section 11 of \
the Electronic Communications and Transactions Act, 25 of 2002.
Please consider the environment before printing this email
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD><!-- Template generated by Exclaimer Mail Disclaimers on 08:47:48 Monday, 31 \
August 2015 --> <STYLE type=text/css>P.b605827f-e3dd-458c-bec5-7cf1fc9c0aed {
MARGIN: 0cm 0cm 0pt
}
LI.b605827f-e3dd-458c-bec5-7cf1fc9c0aed {
MARGIN: 0cm 0cm 0pt
}
DIV.b605827f-e3dd-458c-bec5-7cf1fc9c0aed {
MARGIN: 0cm 0cm 0pt
}
TABLE.b605827f-e3dd-458c-bec5-7cf1fc9c0aedTable {
MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
page: Section1
}
</STYLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6" />
</HEAD>
<BODY style="FONT-FAMILY: Arial; FONT-SIZE: xx-small">
<P><A href="http://www.grindrodbank.co.za/Portals/JohannesburgOfficeMap.pdf"></A></P>
<P><A href="http://www.grindrodbank.co.za/Portals/JohannesburgOfficeMap.pdf"></A></P>
<P>
Morning all<BR />
<BR />
I installed newest version of opennms on Ubuntu.<BR />
Ver: 16.0.3<BR />
Java ver: 1.8.0_60 Oracle<BR />
<BR />
Now....<BR />
if I look for java_home<BR />
<A HREF="mailto:root@dev-ops">root@dev-ops</A>:~# echo $JAVA_HOME<BR />
<BR />
<A HREF="mailto:root@dev-ops">root@dev-ops</A>:~# echo $java_home<BR />
<BR />
Nothing!<BR />
<BR />
<A HREF="mailto:root@dev-ops">root@dev-ops</A>:/usr/share/opennms/bin# ./runjava \
-s<BR />
runjava: Looking for an appropriate JRE...<BR />
runjava: Checking for an appropriate JRE in JAVA_HOME...<BR />
runjava: skipping... JAVA_HOME not set<BR />
runjava: Checking JRE in user's path: "/usr/bin/java"...<BR />
runjava: found an appropriate JRE in user's path: "/usr/bin/java"<BR />
runjava: value of "/usr/bin/java" stored in configuration file<BR />
<BR />
Yet when I cat the /etc/defaults/opennms file<BR />
<BR />
cat /etc/default/opennms <BR />
# Set JAVA_HOME if it cannot be auto-detected<BR />
#JAVA_HOME=/usr/lib/jvm/java-8-oracle<BR />
JAVA_HOME='/usr/lib/jvm/java-8-oracle'<BR />
<BR />
Is this normal or am I missing something?<BR />
<BR />
<BR />
<TABLE>
<TR>
<TD>
<BR />
</TD>
</TR>
<TR>
<TH ALIGN="center">
<DIV ALIGN=center></DIV>
</TH>
<TD>
<BR />
</TD>
</TR>
</TABLE>
<BR /></P>
<P><FONT face=Arial><table \
class=b605827f-e3dd-458c-bec5-7cf1fc9c0aedTable><tr><td><span \
style='font-family:Arial; font-size:11pt; color: #002A54; font-weight: bold; \
'>Stefaans Mostert</span></td></tr><tr><td><span style='font-family:Arial; \
font-size:9pt; color: #002A54; font-weight: normal; '>Contractor: Linux System \
Administrator</span></td></tr></table><span style='font-family:Arial; \
font-size:xx-small; '><table class=b605827f-e3dd-458c-bec5-7cf1fc9c0aedTable><tr \
height=-2><td style="font-weight: bold; font-size: xx-small; font-family: Arial; \
color: #1F497D"><span style='font-family:Arial; font-size:xx-small; color: #B49759; \
font-weight: normal; '>T:</span></td><td style="font-weight: bold; font-size: \
xx-small; font-family: Arial; color: #1F497D" align=Right><span \
style='font-family:Arial; font-size:xx-small; color: #002A54; font-weight: normal; \
'>+27 11 459 1804</span></td><td style="font-weight: bold; font-size: xx-small; \
font-family: Arial; color: #1F497D"> \
</td><td style="font-weight: \
bold; font-size: xx-small; font-family: Arial; color: #1F497D"><span \
style='font-family:Arial; font-size:xx-small; color: #002A54; font-weight: normal; \
'>Fourth Floor, Grindrod Tower, 8A Protea Place, Sandton</span></td></tr><tr \
height=-2><td style="font-weight: bold; font-size: xx-small; font-family: Arial; \
color: #1F497D"><span style='font-family:Arial; font-size:xx-small; color: #B49759; \
font-weight: normal; '>F:</span></td><td style="font-weight: bold; font-size: \
xx-small; font-family: Arial; color: #1F497D" align=Right><span \
style='font-family:Arial; font-size:xx-small; color: #002A54; font-weight: normal; \
'>+27 11 459 1872</span></td><td style="font-weight: bold; font-size: xx-small; \
font-family: Arial; color: #1F497D"></td><td style="font-weight: bold; font-size: \
xx-small; font-family: Arial; color: #1F497D"><span style='font-family:Arial; \
font-size:xx-small; color: #002A54; font-weight: normal; '>PO Box 78011, Sandton, \
Gauteng, 2146</span></td></tr></table></span><BR /><IMG id=IMG1 border=0 \
src="cid:image0d2c7d.GIF@b4093bba.4786309d" width=344 height=62 /><BR /><span \
style='font-family:Verdana; font-size:xx-small; color: #B49759; \
'>www.grindrodbank.co.za</span> </P> <P>
<HR align=left color=#7d7d7d SIZE=2 width="100%" noShade />
<P></P>
<P><FONT color=#7d7d7d><STRONG><FONT size=1><FONT color=#7d7d7d><FONT \
size=1><STRONG><FONT color=#7d7d7d><FONT size=1><STRONG>This communication is \
intended for the addressee only, is privileged and confidential and unauthorised \
dissemination or copying is prohibited. <STRONG>The views and opinions expressed \
herein are those of the sender and do not necessarily represent those of Grindrod \
Bank Limited and/or its affiliates unless otherwise stated or agreed to in \
writing. All electronic </STRONG>communications are subject to important \
restrictions, qualifications and disclaimers ("Disclaimer") found at the following \
<A href="http://www.grindrodbank.co.za/Pages/TermsAndConditions">link</A>. Such \
disclaimer is deemed to form part of the content of this communication in terms of \
Section 11 of the Electronic Communications and Transactions Act, 25 of 2002. \
</STRONG></FONT></FONT></STRONG></FONT></FONT></FONT></STRONG></FONT></P> <P><FONT \
color=#7d7d7d><STRONG><FONT size=1>P</FONT></STRONG></FONT><FONT \
color=#7d7d7d><STRONG><FONT size=1>lease consider the environment before printing \
this email</FONT></STRONG></FONT></P> <P style="FONT-FAMILY: Arial; FONT-SIZE: \
xx-small"></P></FONT> <P> </P></FONT></FONT></SPAN>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P>
<P></P></STRONG></FONT></FONT>
<P></P></FONT>
<P></P></FONT>
<P></P></FONT>
<P></P></FONT>
<P></P>
<P></P></FONT>
<P></P>
<P></P></FONT>
<P></P>
<P></P></FONT>
<P></P>
<P></P></FONT>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P>
<P></P></FONT>
<P></P>
<P></P></FONT>
<P></P></P></FONT></P></BODY>
</HTML>
["image0d2c7d.GIF" (image/gif)]
[Attachment #7 (--===============1073684243034236922==)]
------------------------------------------------------------------------------
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-install mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic