Answer the question
In order to leave comments, you need to log in
How to work with file by absolute path in java launched via exec in php on linux?
I run jar through the console - everything works
java -Xms128m -Xmx512m -d64 -jar indexer.jar /var/www/html/storage/movie.mp4 1 1 i7
$answer = exec('java -d64 -jar indexer.jar '.$path.' '.$type.' '.$movieId.' '.Constant::INDEX, $out);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question