-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Browser script" option missing from OmegaT Tools menu #3
Comments
Hi @jaavieer, |
Many thanks, yoursdearboy! |
I wonder whether packages have been successfully installed? |
Thanks!
jh
2018-03-14 11:37 GMT+01:00 Kirill Voronin <[email protected]>:
… I wonder whether packages have been successfully installed?
I'll try to find a fix a bit later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AjYptmie2vuucK8MFAPiuOB8hWxtsWznks5tePLfgaJpZM4SkF04>
.
--
skype id: javier-herrera
http://twitter.com/javier_herr
www.javierh.net
|
OK. Another reason may be that you use Java 7, but Java 8+ required. After executing next command everything should work: |
Thanks again, yoursdearboy, |
Hi. Can you show |
openjdk version "1.8.0_131" |
Ok. I've tried to install the plugin on my Ubuntu and it works. |
dpkg -l | grep jfx which omegat: [no output] I'm using an OmT version from the website. In case it's any help, I downloaded and unzipped the package and then I enter /usr/bin/java -jar OmegaT.jar every time I need to open it. There isn't an icon I can hit. |
No problem. Hmm, everything looks good.. |
Output of usr/bin/java -jar OmegaT.jar: Output of update-alternatives --display java: |
I don't see any messages about the plugin. There must be a message with text "Plugin ... from class 'com.yoursdearboy.omegat.plugins.browser.BrowserPlugin' ...". |
Hi yoursdearboy, |
Great. You too. |
Hi yoursdearboy, |
@djyy1981 I'll take a look when I have spare time. Moved your comment to a separate issue. |
Hi, My OS: Debian Stretch 9.11 / Gnome /OmegaT 5.0.0 with jre 64bit I had tested the version 5.0 of "Cross-platform without JRE", there is a google translate window, but nothing with blank in the window. And, there is no error when start OmegaT. |
Damn Oracle. Now they removed JavaFX from their distribution! I've updated README on this. Hi @yichuang-zh. This As for 5.0.0 version - I haven't tested the plugin with it. |
Hi,
I installed openjfx this way, then, the 5.0.0 version of "Cross-platform without JRE" worked good, google translate worked fine. Thank you~ Debian Stretch 9.11 / gnome |
Excuse my stupidity, but I am sorely missing the browser plug-in, I'm running OmegaT 5.1 on Mac OS 10.15.2 and the Terminal shell is zsh, which returns a "command not found" for apt-get. Could someone help me with the proper command in zsh? |
Or alternatively, I have downloaded the files from gluon, but could use some polite advice on where to put them. |
Hi @sweney. You don’t have apt-get on MacOS, that’s alright. Probably you are missing JavaFx (which is provided by Gluon). Have you downloaded “JavaFX Mac OS X SDK” from their website? |
Yes, thank you, I am missing JavaFx and I have downloaded the SDK from their website, but where exactly do I put the files? Sweney |
@sweney have you tried to put those jars to the plugins folder too? I'd see whether it works on my Mac. |
Hi, I am Running OmegaT 5.2 under Ubuntu 18. 1. OmegaT with JRE embedded gives the following error: OmegaT cross-platform without JDK version (Java version picked by OmegaT at runtime: OpenJDK):
|
This solution worked for me: |
@miurahr could you please take a look at the current state of Gradle build scripts and Github actions to suggest how to change notice on Java and JavaFX versions in Installation section of README? Probably Java version must be at least 11 (release action uses it). And JavaFX doesn't matter at all, since now it is bundled with the plugin, right? Also, in this issue #23 @WildGenius mentions that OmegaT now comes with its own Java. Do you have any info on this? Whether it >= 11 and comes with JavaFX? |
OmegaT binary distribution with JRE bundles JRE8 (AdoptJDK "1.8.0_275-b01") that do't include JavaFX. Comparison between Oracle JDK and AdoptJDK And @amake explains "OmegaT does not claim compatibility with Java 14. We officially support only Java 8 and Java 11 for now." in the issue: https://sourceforge.net/p/omegat/feature-requests/1525/ Because Java 11 don't have JavaFX, so we should detect Java version, and when detecting Java 11 on user platform, we need to handle external JavaFX modules. Release action uses Java 11 but source/binary compatibility are set to 8, so the plugin will run on Java 8 and 11. |
You can modify Linux launcher From
TO
Then user can run OmegaT-browser even on Java 11 when setting environment variable 'OPENJFX_CLASSPATH' |
Dear all,
I'm trying to use DeepL with OmegaT and have downloaded the omegat-browser-1.2 plugin. I have put it in the right folders in Windows and Linux and the option becomes available in the Windows version of OmegaT but not in Linux.
Instead, I get this error message:
An error occurred while processing an application startup event
java.lang.NoClassDefFoundError:javafx/application/Platform
Linux Mint 18.1, OmegaT 4.1.3_2 and 4.1.2
Thanks for your help!
jh
The text was updated successfully, but these errors were encountered: