Please appy only, if you have experience on this:
We need Google closure compiler and YUI compressor (and Java) installed on our linux server with Centos 7 and Plesk.
Furthermore both need to be tested and activated in Wordpress plugin W3 total cache.
We tried it, but it did not work. The answer of the W3 total cache plugin was:
The code checks if the executable file could be found, but that might fail if the permissions are not correct. If you are running safe mode, you might want to turn it off or include the path using safe_mode_include_dir. For more details check this page: [login to view URL]
The executable might also have incorrect permissions, which means that the user running PHP is not allowed to find that directory or file.
Also, you may want to ping your server administrator and double check the installation of java and also, I tend to believe that the user running PHP doesn’t have the correct rights to execute the JAVA/YUI Compressor
So we need all settings and permissions for both (Google+YUI).
The error we get in the WP plugin is:
YUI Compressor (JS): JAVA executable path was not found. The default minifier JSMin will be used instead.
Closure Compiler: JAVA executable path was not found. The default minifier JSMin will be used instead.
When it works fine, we need also a detailed description how to install it, because I have to do it also on other servers in the future.