[syslog-ng] Running into Error: Could not find Java SE Runtime Environment
vijay amruth
vijayamruth at gmail.com
Tue May 16 23:37:12 UTC 2017
Hello Peter/team/everyone,
Post configure syslog-ng 3.9.1 on redhat 7.3, I am running to this error
when running make, please look into this, any help is appreciated.
GEN modules/java/syslog-ng-core/classes/org/syslog_ng/LogMessage.class
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.
make: ***
[modules/java/syslog-ng-core/classes/org/syslog_ng/LogMessage.class] Error 2
Tried fixing path, didn't help......
[root at sml-collector02 syslog-ng-3.9.1]# export
JRE_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre
[root at sml-collector02 syslog-ng-3.9.1]# export PATH=$PATH:$JRE_HOME/bin
[root at sml-collector02 syslog-ng-3.9.1]# export
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64
[root at sml-collector02 syslog-ng-3.9.1]# export JAVA_PATH=$JAVA_HOME
[root at sml-collector02 syslog-ng-3.9.1]# export PATH=$PATH:$JAVA_HOME/bin
Please look into it. Thank you.
--
Thanks,
Vijay Amrut.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170516/dc1f3153/attachment.html>
More information about the syslog-ng
mailing list