-
Notifications
You must be signed in to change notification settings - Fork 21
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
Windows. ANTLR tools compiled to JRE 11 (class file 55), but installed JRE only recognizes up to JRE 8 (class file 52). #14
Comments
BTW, it works OK for gcc-clang/Linux/x64, clang/MacOS/x64, and msvc/Windows/x64 if I go back to using |
Hi Eric,
Thanks for your comment. Would you mind writing it on GitHub? This could
help others.
Could you please elaborate more on your answer? E.g. how do you check your
JDK version, what version of JDK do you need, and so on? I see we're
talking here about JRE 11, and the last JDK is 20.
My point though was: could the installation of antlr-tools do this (update
to the last version of JDK/JRE) automatically?
Best regards,
Roberto.
…On Tue, Aug 15, 2023 at 8:52 AM ericvergnaud ***@***.***> wrote:
An easy way is to upgrade your jdk.
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQHR5YIP2HBETEMNI3YEJQDXVMMELANCNFSM6AAAAAA3PNGDVY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I removed it from GH because I thought this was about antlr tool. I’ll let people in charge of antlr4-tools answer your questionEnvoyé de mon iPhoneLe 15 août 2023 à 12:18, Roberto Turrado Camblor ***@***.***> a écrit :
Hi Eric,
Thanks for your comment. Would you mind writing it on GitHub? This could
help others.
Could you please elaborate more on your answer? E.g. how do you check your
JDK version, what version of JDK do you need, and so on? I see we're
talking here about JRE 11, and the last JDK is 20.
My point though was: could the installation of antlr-tools do this (update
to the last version of JDK/JRE) automatically?
Best regards,
Roberto.
On Tue, Aug 15, 2023 at 8:52 AM ericvergnaud ***@***.***> wrote:
An easy way is to upgrade your jdk.
—
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQHR5YIP2HBETEMNI3YEJQDXVMMELANCNFSM6AAAAAA3PNGDVY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
I've got a very similar issue for OSx (M3/aarch6):
It's also not the first time I've experienced this. I'm not sure I'm familiar enough in Java to work this out. I've tried installing other versions of and upgrading Java as well. Following along here! This was the issue that originally spurred me on to create this dockerised version of the tool: antlr/antlr4#4244 I see now it was actually approved - I missed that all this time ago! I'll have to polish it off as well |
It's weird. It's like it's installing an old version of java. |
I have a hunch this has something to do with Rosetta on OSx. I tried disabling it, installing native (aarch64) Java (via native I'm not sure it's worth getting to the bottom of, but hopefully the breadcrumbs at least help the next person to hit this! |
Hi,
I'm doing this both in Linux and Windows, and it's working fine in Linux but not in Windows:
python -m pip install --upgrade pip antlr4-tools
, which installsantlr4-tools-0.2
.echo Y | antlr4
, which downloadsantlr4-4.13.0-complete.jar
and runs OK in Linux but not in Windows.The error is:
Shouldn't ANTLR tools be installing an adequate version of JRE?
Is there any easy way to fix this?
Many thanks!
The text was updated successfully, but these errors were encountered: