Title: [Plugin: W3 Total Cache] YUI Compressor Error
Last modified: August 20, 2016

---

# [Plugin: W3 Total Cache] YUI Compressor Error

 *  [otezz](https://wordpress.org/support/users/otezz/)
 * (@otezz)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-yui-compressor-error/)
 * Hi,
 * When I try to test the YUI compressor i get this error:
    Command (/usr/bin/java-
   jar ‘/usr/local/lib/yuicompressor-2.4.7.jar’ –line-break 5000 –type css ) execution
   failed. Error: Could not create the Java virtual machine. . Return code: 1.
 * YUI work on the command line.
 * Any idea what may cause this problem?
 * Thanks
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [otezz](https://wordpress.org/support/users/otezz/)
 * (@otezz)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-yui-compressor-error/#post-2521700)
 * bump?
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-yui-compressor-error/#post-2521813)
 * Are you sure that java is accessible to PHP on your server?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: W3 Total Cache] YUI Compressor Error’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-yui-compressor-error/#post-2521813)
 * Status: not resolved