Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Running examples(running GEF examples)
Running examples [message #1856451] Sun, 11 December 2022 14:05 Go to next message
Katka Měchurová is currently offline Katka MěchurováFriend
Messages: 5
Registered: September 2022
Junior Member
Hello,

I am trying to run GEF examples as it is written here: https://github.com/eclipse/gef/blob/master/README.md#eclipse-graphical-editing-framework-gef

I comleted steps:
Set up an Eclipse IDE (using OpenJDK 11 and OpenJFX 11)
- I am using JDK 19.0.1, OpenJFX 19
Set up a Target Definition containing GEF
- I got some missing dependencies here, viz dep.jpg - I don't understand why

but when I tried to Run the examples I got this error:

!SESSION Sun Dec 11 14:50:07 CET 2022 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2022-12-11 14:50:07.903
!MESSAGE Could not find extension: org.eclipse.fx.osgi
!ENTRY org.eclipse.equinox.launcher 4 0 2022-12-11 14:50:07.925
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)


I think I did everything from manual.. can someone help me to get through this?

I should add that I am using latest Eclipse for Committers.

Thank you very much.


  • Attachment: dep.jpg
    (Size: 69.61KB, Downloaded 58 times)

[Updated on: Sun, 11 December 2022 14:06]

Report message to a moderator

Re: Running examples [message #1856452 is a reply to message #1856451] Sun, 11 December 2022 14:37 Go to previous messageGo to next message
Katka Měchurová is currently offline Katka MěchurováFriend
Messages: 5
Registered: September 2022
Junior Member
I managed to fix the missing dependencies, by changing https://download.eclipse.org/releases/2019-03 to https://download.eclipse.org/releases/2022-12. But I am still left with the last error java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
Re: Running examples [message #1856453 is a reply to message #1856452] Sun, 11 December 2022 15:30 Go to previous message
Katka Měchurová is currently offline Katka MěchurováFriend
Messages: 5
Registered: September 2022
Junior Member
Ok, i restarted eclipse like milion times and it started working.. I am not really sure what changed.

[Updated on: Sun, 11 December 2022 15:32]

Report message to a moderator

Previous Topic:mouse pan implementation
Next Topic:How to - set up eclipse development with open JFX Java > 8
Goto Forum:
  


Current Time: Sun Mar 03 12:45:43 GMT 2024

Powered by FUDForum. Page generated in 0.02989 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top