Skip to content
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

Run configuration does not work and Java troubles #1054

Open
eekenpiet opened this issue Dec 2, 2024 · 1 comment
Open

Run configuration does not work and Java troubles #1054

eekenpiet opened this issue Dec 2, 2024 · 1 comment

Comments

@eekenpiet
Copy link

I made erlang project in Intellij 2024.3

created just a normal hello.erl :

-module(hello).
-author("piet").
-export([hello_world/0]).
hello_world() -> io:fwrite("hello, world\n").

Module and Function field in erlang aplication configuration gives error: Error: Invalid module name 'hello'
when I fill in: hello hello.world

When I click continue I get this errors:
Internal error (java.lang.UnsupportedClassVersionError): org/intellij/erlang/jps/model/JpsErlangModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
java.lang.UnsupportedClassVersionError: org/intellij/erlang/jps/model/JpsErlangModelSerializerExtension has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

On my Ubuntu I use openjdk 21.0.5. and erlang 27.1.2 is compiled with that version (via asdf)
The boot runtime from Intellij is 21.05+8-631.16-jcef

@ignatov
Copy link
Owner

ignatov commented Dec 4, 2024

Hi! How do you run your Intellij 2024.3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants