Title: Notice &quot;JAVA executable path was not found&quot;
Last modified: August 21, 2016

---

# Notice "JAVA executable path was not found"

 *  [mdejong83](https://wordpress.org/support/users/mdejong83/)
 * (@mdejong83)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/notice-java-executable-path-was-not-found/)
 * I’ve been trying to get the YUI minifier to work, but every time I fill in the
   paths I get to see the following error:
 * > JAVA executable (/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java) is not a valid
   > file.
 * I found my executable from my server like this:
    `update-alternatives --display
   java`
 * That gives me back the following:
 *     ```
       java - status is auto.
       link currently points to /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
       /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java - priority 16000
       slave jre: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64
       slave jre_exports: /usr/lib/jvm-exports/jre-1.6.0-openjdk.x86_64
       slave keytool: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/keytool
       slave orbd: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/orbd
       slave pack200: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/pack200
       slave rmid: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/rmid
       slave rmiregistry: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/rmiregistry
       slave servertool: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/servertool
       slave tnameserv: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/tnameserv
       slave unpack200: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/unpack200
       slave java.1.gz: /usr/share/man/man1/java-java-1.6.0-openjdk.1.gz
       slave keytool.1.gz: /usr/share/man/man1/keytool-java-1.6.0-openjdk.1.gz
       slave orbd.1.gz: /usr/share/man/man1/orbd-java-1.6.0-openjdk.1.gz
       slave pack200.1.gz: /usr/share/man/man1/pack200-java-1.6.0-openjdk.1.gz
       slave rmid.1.gz: /usr/share/man/man1/rmid-java-1.6.0-openjdk.1.gz
       slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1.6.0-openjdk.1.gz
       slave servertool.1.gz: /usr/share/man/man1/servertool-java-1.6.0-openjdk.1.gz
       slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1.6.0-openjdk.1.gz
       slave unpack200.1.gz: /usr/share/man/man1/unpack200-java-1.6.0-openjdk.1.gz
       Current best' version is /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java.
       ```
   
 * Figuring the ‘best version’ is the one to use I try to use that one.
 * What’s still wrong here?
 * [http://wordpress.org/plugins/w3-total-cache/](http://wordpress.org/plugins/w3-total-cache/)

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

 *  [pydubreucq](https://wordpress.org/support/users/pydubreucq/)
 * (@pydubreucq)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/notice-java-executable-path-was-not-found/#post-4040453)
 * Hi,
    Do you have “Open basedir” configured ? You can see that on “Compatibility
   Test” Bye
 *  [foroshgahe](https://wordpress.org/support/users/foroshgahe/)
 * (@foroshgahe)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/notice-java-executable-path-was-not-found/#post-4040455)
 * hi
 * plese your wisite site
 * please chech seo

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

The topic ‘Notice "JAVA executable path was not found"’ 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/)

## Tags

 * [java](https://wordpress.org/support/topic-tag/java/)
 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)

 * 2 replies
 * 3 participants
 * Last reply from: [foroshgahe](https://wordpress.org/support/users/foroshgahe/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/notice-java-executable-path-was-not-found/#post-4040455)
 * Status: not resolved