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

Eclipse plugins can not be installed on Ubuntu #1265

Open
jan-vcapgemini opened this issue Jul 13, 2023 · 0 comments
Open

Eclipse plugins can not be installed on Ubuntu #1265

jan-vcapgemini opened this issue Jul 13, 2023 · 0 comments
Labels
bug Something isn't working eclipse related to Eclipse IDE

Comments

@jan-vcapgemini
Copy link
Contributor

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:

  • OS: Linux
  • devonfw-ide 2023.07.002
@jan-vcapgemini jan-vcapgemini added bug Something isn't working eclipse related to Eclipse IDE labels Jul 13, 2023
@jan-vcapgemini jan-vcapgemini added this to the release:2023.07.003 milestone Jul 13, 2023
@hohwille hohwille removed this from the release:2023.07.003 milestone Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working eclipse related to Eclipse IDE
Projects
None yet
Development

No branches or pull requests

2 participants