exec('java -version', $javaver); print_r($javaver); echo "<br />"; exec('java -jar start.jar', $output); print_r($output); echo "<br />"; exec('java -jar post.jar /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/solr.xml /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/monitor.xml', $output2); print_r($output2);
I've never attempted anything with java before. I'm trying to get started on the solr tutorial -- a java based search engine based on Lucene. I don't think I've got this working at all because I probably didn't put the java commands in correctly above. I would really appreciate some guidance.