Title: Java not found when enabling Closure
Last modified: August 21, 2016

---

# Java not found when enabling Closure

 *  [toddprouty](https://wordpress.org/support/users/toddprouty/)
 * (@toddprouty)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/java-not-found-when-enabling-closure/)
 * When I try to enable minification with Closure Compiler used for JavaScript, 
   the following error is displayed:
 * > The following minifiers cannot be found or are no longer working:
   > Closure Compiler: JAVA executable path was not found. The default minifier 
   > JSMin will be used instead.
   > This message will automatically disappear once the issue is resolved.
 * A similar error is displayed when I try to enable YUI Compressor. I’m on DreamHost,
   fwtw, and have set up my JAVA_HOME. Here are the results of “/usr/bin/java -version”:
 * > java version “1.6.0_07”
   >  Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
   > Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
 * What can I do to fix this? Closure is better from everything I’ve read. Thanks.
 * [http://wordpress.org/plugins/w3-total-cache/](http://wordpress.org/plugins/w3-total-cache/)

The topic ‘Java not found when enabling Closure’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [toddprouty](https://wordpress.org/support/users/toddprouty/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/java-not-found-when-enabling-closure/)
 * Status: not resolved