u/GargamelLeNoir

Can maven build in command line, not in Eclipse

I've installed the latest maven archetype for the javafx and have been unable to make the javafx:run work from Eclipse. I would always get "Unsupported major.minor version 68.0". That makes no sense because the JRE is the jdk-26.0.2. In the project settings that's what it's using, so it can easily read a version 68 class.

The weirdest part is that in command line using the same maven installation it runs fine. I have no idea what's different about the eclipse run. It's using the same maven and, ostensibly, the same jre. Anyone has an idea?

reddit.com
u/GargamelLeNoir — 9 days ago