# Runtime Library Installed, but not found? (Win10, Processing 4)

**URL:** https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937
**Category:** Processing
**Created:** [August 26, 2021, 4:46am UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937 "2021-08-26T04:46:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ScottW1](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@ScottW1](https://discourse.processing.org/u/ScottW1)
#### Post date: [August 26, 2021, 4:46am UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937/1 "2021-08-26T04:46:01Z")

</div>

I am running Processing 4.0b1 on Win10x64.

When I “export application” and choose the “Embed Java” option, the .exe launches and runs fine.

However… When I “export application” and do NOT choose “Embed Java”, clicking the .exe file results in an error dialog saying “This application requires a Java Runtime Environment 11.0.11.” Closing that dialog opens a web page where Java runtimes can be downloaded.

I downloaded the current “OpenJDK 11” (11.0.12) from that web page and installed it. In the install options, I selected to have it added to my PATH. But still get the same issue – launching the exported Processing app says “This application requires a Java Runtime Environment 11.0.11.”

I uninstalled older versions of JDK. Still the same issue. Rebooted the machine, same problem.

At a command prompt, typing “java -version” says:

> openjdk version “11.0.12” 2021-07-20  
> OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7)  
> OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (build 11.0.12+7, mixed mode)

…and “where java” says:

> C:\Program Files\Eclipse Foundation\jdk-11.0.12.7-hotspot\bin\java.exe

…and the first item in my Path is:

> C:\Program Files\Eclipse Foundation\jdk-11.0.12.7-hotspot\bin;

Also tried uninstalling 11.0.12 and installing the older 11.0.11 – thinking perhaps the message saying it required “11.0.11” meant what it said. No luck, still get the same error.

So I’m stumped. The exported Processing app says it needs the Java Runtime, but the Java Runtime is already installed. Tried all this on another Windows10x64 machine – same result.

What am I doing wrong? How do I get the processing app (exported without Java runtime) to use the Java Runtime already installed on Windows?

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [August 30, 2021, 6:58pm UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937/2 "2021-08-30T18:58:01Z")

</div>

> [@ScottW1](#):
>
> requires a Java Runtime Environment 11.0.11

Possibly related issue:

> <https://github.com/benfry/processing4/issues/249>
>
> \## Description
> When opening an exported application, it immediately quits and M…acOS displays an alert saying that the application "quit unexpectedly". 
> 
> \## Previous Bug Report
> This has been an issue a while back (https://github.com/processing/processing/issues/5983), so maybe its my environment.
> However I tried a clean new installation with a very simple sketch and couldn't export a functional app.
> 
> \## Steps to Reproduce
> \- Downloaded the beta
> \- Created a test sketch 
> \- Exported the app
> 
> \## Environment
> \* Processing version: 4.0b
> \* Operating System and OS version: MacOS Big Sur 11.5.1
> 
> \## My Test Sketch
> \`\`\`
> float rX = 0.0;
> float rY = 0.0;
> 
> void setup() {
> size(400,400, P3D);
> frameRate(30); // Calling frameRate could help...
> rectMode(CENTER);
> }
> 
> void draw() {
> background(255);
> translate(width/2, height/2);
> rotateX(rX += 0.005);
> rotateY(rY += 0.01);
> rect(0,0,200,200); 
> }
> \`\`\`
> 
> 
> \## The error messages
> \`\`\`
> \# A fatal error has been detected by the Java Runtime Environment:
> \#
> \# SIGILL (0x4) at pc=0x00007fff201fa25d, pid=18786, tid=12547
> \#
> \# JRE version: OpenJDK Runtime Environment Temurin-11.0.12+7 (11.0.12+7) (build 11.0.12+7)
> \# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (11.0.12+7, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
> \# Problematic frame:
> \# C \[libdispatch.dylib+0x525d\] \_dispatch\_assert\_queue\_fail+0x63
> \#
> \# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
> \#
> \# An error report file with more information is saved as:
> \# /Users/Philipp/hs\_err\_pid18786.log
> \#
> \# If you would like to submit a bug report, please visit:
> \# https://github.com/adoptium/adoptium-support/issues
> \# The crash happened outside the Java Virtual Machine in native code.
> \# See problematic frame for where to report the bug.
> \`\`\`

---

<div class="post-metadata">

### Author: ![ScottW1](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@ScottW1](https://discourse.processing.org/u/ScottW1)
#### Post date: [August 30, 2021, 7:24pm UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937/3 "2021-08-30T19:24:17Z")

</div>

Could be related I guess… though the symptoms there are pretty different.

That report describes an application that starts and then fails with a Java runtime error. My exported app isn’t even starting – just the loader immediately reporting that it needs a Java Runtime – even though that Java Runtime is already installed and working for everything else.

There’s obviously some kind of “check” being done to determine if Java runtime 11.0.11 is installed before launching it, or perhaps the processing.exe stub tries to launch Java, check the version, and somehow fails. Either way, the exported Processing app is incorrectly concluding that the desired Java runtime is not installed, when it actually is. ¯\_(ツ)\_/¯

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [August 30, 2021, 7:56pm UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937/4 "2021-08-30T19:56:26Z")

</div>

Perhaps open a different issue for it, since it seems separate? (unless you opened one already that I didn’t see).

---

<div class="post-metadata">

### Author: ![ScottW1](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@ScottW1](https://discourse.processing.org/u/ScottW1)
#### Post date: [August 30, 2021, 8:13pm UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937/5 "2021-08-30T20:13:12Z")

</div>

Was hoping to see someone else confirm (i.e. having some problem) or deny (i.e. working fine for them) using Processing4 and Windows10. I’m new with Processing, so there’s always a chance I’m doing something wrong. I don’t want to bother developers with another github issue if my brain is the problem here, lol.

I guess I’m surprised nobody else has said “same thing happening here” or “nope, works fine for me”. On my test machines, any windows app exported from Processing4 (without embedded java) fails to run, saying the 11.0.11 runtime isn’t installed – when it actually is.

---

<div class="post-metadata">

### Author: ![damian0815](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/damian0815/32/14385_2.png) [@damian0815](https://discourse.processing.org/u/damian0815)
#### Post date: [September 5, 2021, 9:52am UTC](https://discourse.processing.org/t/runtime-library-installed-but-not-found-win10-processing-4/31937/6 "2021-09-05T09:52:43Z")

</div>

same problem here (Processing4 on MacOS 15 exporter / Windows 10 20H2 attempt to run, pop up requests JRE 11.0.11 and app won’t run even though 11.0.11 is already installed)
