https://linen.dev logo
m

Mason Wheeler

04/12/2021, 6:26 PM
Anyone know how to fix this error when trying to build? A bit of searching suggests I have the wrong version of something somewhere. Using Java version 16, which appears to be the most recent version, and according to this, it's the version that corresponds to class version 60...
u

user

04/12/2021, 6:27 PM
Airbyte runs on java 14 as specified here: https://docs.airbyte.io/architecture/tech-stack would there have been a better place to put this info to help you get started?
u

user

04/12/2021, 6:30 PM
I think it's mostly that I don't know what all is relevant. I'm new to Java. I have enough background in other languages, and particularly C#, to intuit the language itself pretty well, but the surrounding tooling? Not so much.
u

user

04/12/2021, 6:30 PM
If this were a C# project, the runtime version would be built into the project file and handled automagically by the build system. Looks like that's not the case here.
u

user

04/12/2021, 6:33 PM
OK, after changing the project's JDK version to 14, the same problem is still occurring.
u

user

04/12/2021, 6:34 PM
what did you change with the project? FWIW you will need to install JDK 14 on your workstation and point
JAVA_HOME
to it rather than changing some project-level config
u

user

04/12/2021, 6:35 PM
you shouldn’t need to change anything with the project
u

user

04/12/2021, 6:36 PM
changed this ⬆️
u

user

04/12/2021, 6:37 PM
I see, and the error is ocurring when you run something from intellij?
u

user

04/12/2021, 6:37 PM
what is your
JAVA_HOME
pointing to?
u

user

04/12/2021, 6:37 PM
echo $JAVA_HOME
u

user

04/12/2021, 6:39 PM
Looks like I don't have that env var set
u

user

04/12/2021, 6:41 PM
can we quickly pair on this? i’m guessing it’ll be faster than guessing over chat
u

user

04/12/2021, 6:42 PM
sure
4 Views