Okapi Framework Error: "this application requires a java runtime environment 11" (which I do have) Thread poster: Esteban Ectaymech
|
Can't run Okapi framework tools (okapi-apps_win32-x86_64_1.45.0) , like Rainbow, on Windows 10. By the way, I have OmegaT 6.0.0 installed with its own 64-bit JRE (Java Runtime Environment), but shouldn't affect the execution of Okapi. When executing Rainbow.exe (or any other) gives me the error: "this application requires a java runtime environment 11". (which I have). I've tried many things: - Created environment variable JAVA_HOME... See more Can't run Okapi framework tools (okapi-apps_win32-x86_64_1.45.0) , like Rainbow, on Windows 10. By the way, I have OmegaT 6.0.0 installed with its own 64-bit JRE (Java Runtime Environment), but shouldn't affect the execution of Okapi. When executing Rainbow.exe (or any other) gives me the error: "this application requires a java runtime environment 11". (which I have). I've tried many things: - Created environment variable JAVA_HOME - Deleted other Java versions except for Java 11 - Tried with Java 8, Java 11 and Open JDK 11.0.2 Only thing i achieved was to get 2 new errors Second error: "could not open: ...\lib\jvm.cfg" Third error: Error: Could not find or load main class C:\...rainbow.exe Caused by: java.lang.ClassNotFoundException: C:\...rainbow.exe I'm running out of ideas. Don't know what else to do to make it work besides formatting my pc. ▲ Collapse | | | Finally working | Dec 28, 2023 |
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 ... See more 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! ▲ Collapse | | | better, but still not working | Dec 29, 2023 |
by creating a path, I no longer have the error "this application requires a java runtime environment 11". But now have a new error: "Java Virtual Machine: A java exception has ocurred". I guess is a progress since now at least is detecting the JRE | | | Try changing JAVA_HOME | Dec 29, 2023 |
I ran into the same error message ("Java Virtual Machine Launcher: A Java Exception has ocurred") at one point when I was fiddling with the environment variables yesterday. It appeared when I changed JAVA_HOME from "C:\Program Files\Java\1.8.0_391" (which is not a physical path on my PC) to "C:\Program Files\Java\jre-1.8". Switching it back to "C:\Program Files\Java\1.8.0_391" or changing it to "C:\Program Files\Java\jre-1.8\bin" made the error message go away. I guess there is some kind of conf... See more I ran into the same error message ("Java Virtual Machine Launcher: A Java Exception has ocurred") at one point when I was fiddling with the environment variables yesterday. It appeared when I changed JAVA_HOME from "C:\Program Files\Java\1.8.0_391" (which is not a physical path on my PC) to "C:\Program Files\Java\jre-1.8". Switching it back to "C:\Program Files\Java\1.8.0_391" or changing it to "C:\Program Files\Java\jre-1.8\bin" made the error message go away. I guess there is some kind of conflict between different environment variables and different JRE versions so I recommend changing or clearing the JAVA_HOME (or JRE_HOME if it is defined) value to see if it helps. ▲ Collapse | |
|
|
Install the development kit | Feb 5 |
I experienced the same problem. No matter what I tried, the Okapi apps would complain about Java. The only thing that worked was to install the JDK (Java Development Kit) instead of the JRE (Java Runtime Environment), from here: https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.exe The reason why this happened? No idea. Java will always be... See more I experienced the same problem. No matter what I tried, the Okapi apps would complain about Java. The only thing that worked was to install the JDK (Java Development Kit) instead of the JRE (Java Runtime Environment), from here: https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.exe The reason why this happened? No idea. Java will always be Java. ▲ Collapse | | |
Epameinondas Soufleros wrote: The reason why this happened? No idea. Java will always be Java. That's why CAT tools like CafeTran Espresso, Swordfish and Wordfast Pro now come with an embedded Java runtime. No more hassle. | | | To report site rules violations or get help, contact a site moderator: You can also contact site staff by submitting a support request » Okapi Framework Error: "this application requires a java runtime environment 11" (which I do have) Trados Studio 2022 Freelance | The leading translation software used by over 270,000 translators.
Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop
and cloud solution, empowering you to work in the most efficient and cost-effective way.
More info » |
| Trados Business Manager Lite | Create customer quotes and invoices from within Trados Studio
Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |