eclipse issue

@dan1st | Daniel
72 Replies
JavaBot
JavaBot2mo ago
This post has been reserved for your question.
Hey @surgy! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st2mo ago
Can you show the exact errors you are getting?
surgy
surgyOP2mo ago
now its not even giving anerror
dan1st
dan1st2mo ago
also what happens when uninstalling the plugin in question?
surgy
surgyOP2mo ago
its just not openeing marketplace i cant get to the marketplace to uninstall the plugin
dan1st
dan1st2mo ago
Check the error log Ctrl+3, "Error Log"
surgy
surgyOP2mo ago
where is the error log ?
surgy
surgyOP2mo ago
No description
surgy
surgyOP2mo ago
No description
surgy
surgyOP2mo ago
so i wanted to apt purge eclipse and then just reinstall
dan1st
dan1st2mo ago
you can only purge what you installed with apt
surgy
surgyOP2mo ago
but i think i installed from a manually downloaded deb or something right
dan1st
dan1st2mo ago
reinstalling would be possible as well but you could probably just uninstall the plugin (you don't need the marketplace client for that) There are no deb files for Eclipse AFAIK only an installer and tar.gz files
surgy
surgyOP2mo ago
ok... it was an installation scriptfrom their website.
dan1st
dan1st2mo ago
so uninstalling is just deleting the directory Can you double-click the "Cannot Open Eclipse Marketplace" element there`?
dan1st
dan1st2mo ago
but for uninstalling plugins, you can just go to Help > About Eclipse
No description
dan1st
dan1st2mo ago
then "Installation Details", selecting the plugin to uninstall and clicking "Uninstall"
surgy
surgyOP2mo ago
No description
dan1st
dan1st2mo ago
Can you copy the whole text here in Discord?
surgy
surgyOP2mo ago
yeah i think i want to find the directory and delete it and then reinstall with apt
dan1st
dan1st2mo ago
I think you should be able to select it with Ctrl+A and then copy it with Ctrl+C
surgy
surgyOP2mo ago
dan1st
dan1st2mo ago
apt isn't the thing you'd use for installing Eclipse
surgy
surgyOP2mo ago
yeah snap i wish ubuntu would make up its mind lol snap or apt and chose one
dan1st
dan1st2mo ago
In the installation details, go to "Configuration" there it shows you the directory Did you use snap for installing Eclipse? I normally don't do it that way with Eclipse
surgy
surgyOP2mo ago
no
dan1st
dan1st2mo ago
Did you use the Eclipse installer
surgy
surgyOP2mo ago
i installed using the eclipse installer when i go to help/about/configuration eclipse crashes ok it started this time looks like i need to delete ~/.p2 and ~/eclipse
surgy
surgyOP2mo ago
No description
dan1st
dan1st2mo ago
I think I know what you did wrong/why the thing happened
surgy
surgyOP2mo ago
?
dan1st
dan1st2mo ago
Ok that tells me that you used the Eclipse installer and a part of your installation is in ~/.p2 and another in ~/eclipse it seems like the issue you had with the marketplace might be related to https://github.com/eclipse-orbit/orbit-simrel/issues/40
surgy
surgyOP2mo ago
all i did was installed darkest dark theme and e(fx)java i think the darkest theme fucked it all
dan1st
dan1st2mo ago
you can just uninstall it if you want to
surgy
surgyOP2mo ago
but then it worked for like 15 hours.... how i dont see it in "installed software"
dan1st
dan1st2mo ago
I already told you - In the installation details, the first tab is installed software What is shown there?
surgy
surgyOP2mo ago
No description
dan1st
dan1st2mo ago
that one
No description
dan1st
dan1st2mo ago
actually all 3 of the devstyle ones
surgy
surgyOP2mo ago
oh had to expand ok but ok but why am i getting all of these errors now? before that issue came out of no where this code would compile and eclipse marketplace still doesnt work
dan1st
dan1st2mo ago
If you show me the exact errors, I might be able to tell you why
surgy
surgyOP2mo ago
i think, for somereason, e(fx)java isnt loading because it's acting like it cant find javafx
dan1st
dan1st2mo ago
and also the module-info.java if present and the build path
surgy
surgyOP2mo ago
No description
dan1st
dan1st2mo ago
. Do you have a module-info.java?
surgy
surgyOP2mo ago
No description
dan1st
dan1st2mo ago
Can you show me the build path? Right click on the project > build path > configure build path that should have a libraries tab Also I would normally use Maven for JavaFX - then you don't even need the JavaFX SDK
surgy
surgyOP2mo ago
right click on project?
dan1st
dan1st2mo ago
yes
surgy
surgyOP2mo ago
in the menubar?
dan1st
dan1st2mo ago
right click on that thing
No description
dan1st
dan1st2mo ago
also there it shows a path - does that path exist?
No description
surgy
surgyOP2mo ago
right click snakery >>> build path >> "no options available" and i tried maven for hours and in three different servers and couldnt get past an error ehich is when i heard about e(fx)java and found my way to eclipse
surgy
surgyOP2mo ago
No description
surgy
surgyOP2mo ago
yes
dan1st
dan1st2mo ago
hm I think I'll just tell you how to create a proper Maven project with JavaFX and you don't have to deal with these issues
surgy
surgyOP2mo ago
maybe i should delete all the eclipse stuff go get some biscuits and gravy and then come back and start fresh with eclipse and maven
dan1st
dan1st2mo ago
deleting Eclipse and reinstalling it wouldn't affect the project
surgy
surgyOP2mo ago
right now im a lot bit frustrated because i keep hitting this same rediculous wall with javafx ill delete the project as well
dan1st
dan1st2mo ago
File > New > Other > Maven project > Next > Maven Central on the top and javafx-archetype-fxml (make sure you are using the one with org.openjfx on the left) > Next > enter a project name and set the javafx version to 21 > finish
No description
No description
dan1st
dan1st2mo ago
then it should automatically try to create a JavaFX project- you can view the progress on the bottom right
No description
dan1st
dan1st2mo ago
I have to go rn
surgy
surgyOP2mo ago
no "maven central on the top" ok thnx found maven central in the drop down? if this is the order of operations it is not intuitive thank you for all of your help, im going to delete everything and then go get food and come try again
dan1st
dan1st2mo ago
can you showw it? not all is necessary - archetypes are essentially templates for Maven projects you could have checked "create simple project" as well and skip the other steps (and add JavaFX by editing the pom.xml) Using e(fx)clipse for JavaFX projects works well but adding more dependencies is a bit annoying and all devs of the project would need to use Eclipse and share the configuration etc and with Maven, you don't even need the JavaFX SDK yes it should be in the top dropdown
surgy
surgyOP2mo ago
Taking a little break. And then I'll hit it again from the bottom up 🙂
dan1st
dan1st2mo ago
No description
dan1st
dan1st2mo ago
after you press next in this dialog without selecting the simple project thing
No description
dan1st
dan1st2mo ago
when doing all of that, you should get a project similar to that
No description
dan1st
dan1st2mo ago
alternatively you could create a "simple" Maven project and add something like this to your pom.xml:
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>21</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>21</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<executions>
<execution>
<id>default-cli</id>
<configuration>
<mainClass>fully.qualified.name.of.YourMainClass</mainClass>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>21</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>21</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<executions>
<execution>
<id>default-cli</id>
<configuration>
<mainClass>fully.qualified.name.of.YourMainClass</mainClass>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
JavaBot
JavaBot2mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
surgy
surgyOP2mo ago
Are open
JavaBot
JavaBot2mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?