Title: Empty JAVA executable path.
Last modified: November 10, 2019

---

# Empty JAVA executable path.

 *  Resolved [perveneficus](https://wordpress.org/support/users/perveneficus/)
 * (@perveneficus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/empty-java-executable-path/)
 * No matter what i do it keeps returning it.
 * Java is accessible and executable
    openjdk version “1.8.0_232” OpenJDK Runtime
   Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09,
   mixed mode)

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/empty-java-executable-path/#post-12117594)
 * Hello [@perveneficus](https://wordpress.org/support/users/perveneficus/),
 * I am sorry about the issue you are having but I am not sure how is this related
   to W3 Total Cache?
 *  Thread Starter [perveneficus](https://wordpress.org/support/users/perveneficus/)
 * (@perveneficus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/empty-java-executable-path/#post-12118000)
 * Wel the error comes from W3 ;p
 * > [View post on imgur.com](https://imgur.com/oSWzpzU)
    -  This reply was modified 6 years, 5 months ago by [perveneficus](https://wordpress.org/support/users/perveneficus/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/empty-java-executable-path/#post-12118395)
 * Hello [@perveneficus](https://wordpress.org/support/users/perveneficus/)
 * There is a possibility that the user running PHP doesn’t have the correct rights
   to execute the JAVA or the path in the settings is incorrect, which is the first
   thing to check.
    Empty JAVA executable path. indicates it’s not found in the 
   settings
 * Your issue might be an incompatibility with the JAVA version. Could you please
   check if you still see the message when using another version?
 * You might also encounter this issue when there are multiple versions of JAVA 
   installed on their system:
    Maybe you could search for other JAVA executables
   and remove all but the one you need. I hope this helps!
 *  Thread Starter [perveneficus](https://wordpress.org/support/users/perveneficus/)
 * (@perveneficus)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/empty-java-executable-path/#post-12118673)
 * > Hello [@perveneficus](https://wordpress.org/support/users/perveneficus/)
   > There is a possibility that the user running PHP doesn’t have the correct rights
   > to execute the JAVA or the path in the settings is incorrect, which is the 
   > first thing to check.
   >  Empty JAVA executable path. indicates it’s not found
   > in the settings
 * Yes i Gathered as much 🙂 Had already done this but forgot to mention
    Gave user
   ownership (even though he could execute)
 * > our issue might be an incompatibility with the JAVA version. Could you please
   > check if you still see the message when using another version?
   >  You might also
   > encounter this issue when there are multiple versions of JAVA installed on 
   > their system: Maybe you could search for other JAVA executables and remove 
   > all but the one you need.
 * Tried java 1.8 and 11 even removed all symlinks and references left just one 
   java.
 * Is there maybe a more indepth vieuw to see what it exactly has issues with an
   proper error would be nice 🙂
    -  This reply was modified 6 years, 5 months ago by [perveneficus](https://wordpress.org/support/users/perveneficus/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/empty-java-executable-path/#post-12131659)
 * Hello [@perveneficus](https://wordpress.org/support/users/perveneficus/)
 * It appears that there is something preventing the test button to work. Can you
   please apply this [fix](https://github.com/W3EDGE/w3-total-cache/commit/fe085582de70d80d1f36dbc7d966cfee95beed1f)
   and see if the issue persists?
    Thank you!

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

The topic ‘Empty JAVA executable path.’ 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/)

 * 5 replies
 * 1 participant
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/empty-java-executable-path/#post-12131659)
 * Status: resolved