devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 101 forks source link

Eclipse plugins can not be installed on Ubuntu #1265

Open jan-vcapgemini opened 1 year ago

jan-vcapgemini commented 1 year ago

Expected behavior

As a devonfw-ide Eclipse user, I expect devonfw to install my Eclipse in a working condition.

Actual behavior

Devonfw-ide manages to download the latest version of Eclipse but fails to install the plugins provided by our settings. After all plugins threw an error message, Eclipse can not be started.

Installing Eclipse plugin 'anyedit' from URL https://raw.githubusercontent.com/iloveeclipse/plugins/latest/... WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException: Installing Eclipse plugin 'checkstyle' from URL https://checkstyle.org/eclipse-cs-update-site... WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException: Installing Eclipse plugin 'cobigen' from URL https://devonfw.com/cobigen/updatesite/stable/... WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException: Installing Eclipse plugin 'startexplorer' from URL https://basti1302.github.io/startexplorer/update/... WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException:

Eclipse throws following errors in a new window:

JVM terminated. Exit code=1 /userhome/devonfw-ide-test/software/java/bin/java -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Dsun.java.command=Eclipse -Xms256m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -jar /userhome/devonfw-ide-test/software/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -os linux -ws gtk -arch x86_64 -launcher /userhome/devonfw-ide-test/software/eclipse/eclipse -name Eclipse --launcher.library /userhome/devonfw-ide-test/software/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.700.v20221108-1024/eclipse_11801.so -startup /userhome/devonfw-ide-test/software/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.appendVmargs -exitdata 2 -product org.eclipse.epp.package.java.product -consoleLog -configuration /userhome/devonfw-ide-test/plugins/eclipse/configuration/ -application org.eclipse.equinox.p2.director -repository https://raw.githubusercontent.com/iloveeclipse/plugins/latest/ -installIU AnyEditTools.feature.group -vm /userhome/devonfw-ide-test/software/java/bin/java -vmargs -Dosgi.requiredJavaVersion=17 -Dosgi.instance.area.default=@user.home/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Dsun.java.command=Eclipse -Xms256m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -jar /userhome/devonfw-ide-test/software/eclipse//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

-exitdata 3 ... -repository https://checkstyle.org/eclipse-cs-update-site -installIU net.sf.eclipsecs.feature.group

-exitdata 4 ... -repository https://devonfw.com/cobigen/updatesite/stable/ -installIU com.devonfw.cobigen.eclipse.feature.feature.group,com.devonfw.cobigen.tempeng-freemarker,com.devonfw.cobigen.htmlplugin,com.devonfw.cobigen.javaplugin,com.devonfw.cobigen.jsonplugin,com.devonfw.cobigen.openapiplugin,com.devonfw.cobigen.propertyplugin,com.devonfw.cobigen.textmerger,com.devonfw.cobigen.tsplugin,com.devonfw.cobigen.tempeng-velocity,com.devonfw.cobigen.xmlplugin

-exitdata 5 ... -repository https://basti1302.github.io/startexplorer/update/ -installIU de.bastiankrol.startexplorer.feature.feature.group

-showsplash /userhome/devonfw-ide-test/software/eclipse//plugins/org.eclipse.epp.package.common_4.28.0.20230608-1200/splash.bmp ... -exitdata 6 ... -clean -data /userhome/devonfw-ide-test/workspaces/main -keyring ~/.eclipse/.keyring ... -showlocation main

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. run devon eclipse

Related/Dependent Issues

Comments/Hints:

Affected version: