title: How to make PHP Java Bridge works
body: <p>I am using PHP 5.5 with Apache 2.4 and Java 8. Now I want to call the function within a Java JAR file. I search the internet about the PHP Java bridge. I have found a <code>JavaBridge.Jar</code> file for the SourceForge, but I don't know how to make it works. So how can I use PHP Java Bridge. I found by Google saying it may use PHP <code>exec()</code> to execute the Java function, however, this method seems need to open the JVM each time. So I am wondering whether it has a better method to call function in JAR.</p>