<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello,</div>
<div> </div>
<div>I am able to compile syslog-ng 3.7.2 without the Java-based modules included successfully and the syslog-ng run fine. Now I need to re-compile again with the Java-based modules included. I execute the following steps listed in the syslog-ng-3.7-ose-admin
guide:</div>
<div> </div>
<div>Installed openjdk version "1.8.0_71"</div>
<div>Installed gradle version 2.11</div>
<div>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH</div>
<div>export LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-1.b15.el6_7.x86_64/jre/lib/amd64/server:$LD_LIBRARY_PATH</div>
<div> </div>
<div>When I run ./configure, I notice the java module option is set to "no" in the summary:</div>
<div> Modules:</div>
<div> Module search path : ${exec_prefix}/lib/syslog-ng</div>
<div> Sun STREAMS support (module): no</div>
<div> SQL support (module) : no</div>
<div> PACCT module (EXPERIMENTAL) : no</div>
<div> MongoDB destination (module): yes</div>
<div> JSON support (module) : no</div>
<div> SMTP support (module) : no</div>
<div> AMQP destination (module) : yes</div>
<div> STOMP destination (module) : yes</div>
<div> GEOIP support (module) : no</div>
<div> Redis support (module) : no</div>
<div> Riemann destination (module): no</div>
<div> python : yes (pkg-config package: python)</div>
<div> java : no</div>
<div> </div>
<div>I go ahead to execute "make" and "make install" without error. But I don't see the "java-modules" directory is created in /usr/local/lib/syslog-ng directory.</div>
<div>When I include the following declaration in my syslog-ng.conf to start syslog-ng, I got the following error:</div>
<div>[2016-02-20T05:46:59.039466] Plugin module not found in 'module-path'; module-path='/usr/local/lib/syslog-ng', module='mod-java'</div>
<div> </div>
<div>Why Java modules is not included? What steps am I missing?</div>
<div>Any help is appreciated</div>
<div> </div>
<div>Ming</div>
<div> </div>
</span></font>
</body>
</html>