# \[Linux\] Unable to run - files and directories not found for java?

**URL:** https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547
**Category:** Processing
**Created:** [January 15, 2019, 4:10pm UTC](https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547 "2019-01-15T16:10:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Papergami45](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@Papergami45](https://discourse.processing.org/u/Papergami45)
#### Post date: [January 15, 2019, 4:10pm UTC](https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547/1 "2019-01-15T16:10:14Z")

</div>

I’m using Arch Linux, using i3wm if it makes a difference. I’ve downloaded Processing as I’m using it for a project on my Windows machine and would like to continue development on my Arch Installation.  
I downloaded and ran the Processing package from the AUR, making sure linux was up to date. Processing launches, but when I run a series of errors occurs, which say they’re caused by (the full error is too long to paste here):

> Caused by: java.io.IOException: Cannot run program “/usr/lib/jvm/java-8-openjdk/bin/java”: error=2, No such file or directory

and

> Caused by: java.io.IOException: error=2, No such file or directory

I mean I can confirm Processing is correct - those files/directories do not exist. But I have a full Java installation (I’m not sure where it’s been placed, I simply used pacman to install it). How should I go about fixing this?

Also: I’ve downloaded the tgz from the website, and I’m not even sure how to go about installing it, so if that’s an available fix, some help would be greatly appreciated.

Thanks!

---

<div class="post-metadata">

### Author: ![monkstone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/monkstone/32/64_2.png) [@monkstone](https://discourse.processing.org/u/monkstone)
#### Post date: [January 15, 2019, 5:19pm UTC](https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547/2 "2019-01-15T17:19:59Z")

</div>

You should read the entry by myself and xyproto on [issues](https://github.com/processing/processing/issues/4415) re openjdk and archlinux in response to malan88. Essentially you need to install jdk8 and use archlinux-java to make that the default version.

---

<div class="post-metadata">

### Author: ![Papergami45](https://avatars.discourse-cdn.com/v4/letter/p/c2a13f/32.png) [@Papergami45](https://discourse.processing.org/u/Papergami45)
#### Post date: [January 15, 2019, 5:40pm UTC](https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547/3 "2019-01-15T17:40:35Z")

</div>

Worked perfectly! Thanks a lot for the fix, saved me potential hours of internet scouring.

---

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [January 15, 2019, 8:19pm UTC](https://discourse.processing.org/t/linux-unable-to-run-files-and-directories-not-found-for-java/7547/4 "2019-01-15T20:19:03Z")

</div>

PDE’s incompatibility w/ any Java version past 8 attacks again: 😜

> [@No display on Windows, many student problems, any thoughts?](https://discourse.processing.org/t/no-display-on-windows-many-student-problems-any-thoughts/7529/5):
>
> Somehow you gave me the idea to copy my laptop’s “PythonMode/” folder to my desktop PC. bulb And it just worked after that! partying_face Seems like even though PDE’s Contribution Manager says it’s gonna download Python Mode build 3049, it actually downloads build 3050! crazy_face Just checked that build 3050’s “PythonMode.jar” file was compiled by Java 11. coffee AFAIK, Java 11 is still incompatible w/ current PDE! Needs to be at most Java 8. expressionless
