Quantcast
Channel: ProZ.com Translation Forums
Viewing all articles
Browse latest Browse all 3915

Okapi Framework Error: "this application requires a java runtime environment 11" (which I do have) | Finally working

$
0
0
Forum: CAT Tools Technical Help
Topic: Okapi Framework Error: "this application requires a java runtime environment 11" (which I do have)
Poster: Magnus Eriksson
Post title: Finally working

Hi Esteban,
I had the exact same problem today. My old Okapi installation worked, but Rainbow in okapi-apps_win32-x86_64_1.45.0 kept asking for Java Runtime Environment 11. Downloading the Java version from the link that opens when you click the error message (Version 8 Update 391) and adding that to the environment variables JAVA_HOME, JRE_HOME and system Path or creating symlinks in C:\ProgramData\Oracle\Java\javapath didn't help.

What finally worked was this:
Opening the Java Runtime Environment Settings (on my PC: Start Menu > Programs > Java > Configure Java). Apparently I had two versions of JRE 1.8, one JRE 11 and one JRE 17. The JRE 11 installation pointed to javaw.exe for a specific application. I put the link to the bin folder containing that javaw.exe (C:\Program Files\specific application\jre\bin) in the system Path environment variable. Then Rainbow started without complaints.

I guess you know how to edit the system Path variable, otherwise this is what you do:
Click System Properties > Advanced > Environment Variables... and double-click on Path under System variables. There you click New and insert the path to your bin folder containing the JRE 11 javaw.exe. I also clicked Move Up until the path was at the top of the list. Hope it works out!

Viewing all articles
Browse latest Browse all 3915

Trending Articles