Hello, On 2023/02/08 08:42:40 +0100, Daniele Bonini <my2...@aol.com> wrote: > > Just coming from trying DBeaver intall.. > > cd dbeaver > launching `mvn package`: > > [[ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.jkiss.dbeaver:dbeaver:1.0.0-SNAPSHOT > (/usr/local/dbeaver/pom.xml) has 1 error > [ERROR] Invalid artifact repository: Unable to provision, see the > following errors: > [ERROR] > [ERROR] 1) Error in custom provider, java.lang.TypeNotPresentException: > Type org.eclipse.tycho.p2maven.repository.P2ArtifactRepositoryLayout not > present > [ERROR] at > ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:3.0.1, parent: > jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc] (via modules: > org.eclipse.sisu.wire.WireModule -> > org.eclipse.sisu.plexus.PlexusBindingModule) > [ERROR] while locating > org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout > annotated with @com.google.inject.name.Named(value="p2") > [ERROR] > [ERROR] 1 error: > org/eclipse/tycho/p2maven/repository/P2ArtifactRepositoryLayout 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
you need to use a newever version of java. The readme is confusing, first says jdk 11 and later 17, but is 17 the one really needed. I have 17 selected by default since i've added it to my PATH. another way would be to set JAVA_HOME=/usr/local/jdk-17/ (and don't forget to install the package too.) with that, maven finishes to build. I don't have any clue on how to run this stuff though, so haven't tested. I think (based on some github comment) that you need to install eclipse and run dbeaver as a plugin? HTH Omar Polo