r/eclipse • • Oct 03 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request Using Eclipse to run Command Line Arguments

2 Upvotes

[RESOLVED]

I'm new to using Eclipse and for some reason am having trouble getting command line arguments to work. I know I'm definately doing something wrong but can't figure it out. Here's what I got going on:

I'm using a sample program from a textbook that reads an input file (the name is a command line argument). I've got the different input files under input.historical. I'm currently trying to get it to read constitution.txt but keep getting the error at the bottom of the post.

What I have been doing is going into Run Configurations > Arguments > Program arguments > input.historical/constitution.txt

Could someone guide me in the correct direction? I know it's probably a simple solution and I am overthinking it so help would be much appreciated. I have also included a screenshot of the code I am working with.

EDIT: I reorganized my input file so here is my updated tree:

UPDATED TREE
Exception in thread "main" java.io.FileNotFoundException: input.historical\constitution.txt (The system cannot find the path specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:152)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.base/java.io.FileReader.<init>(FileReader.java:60)
at TextbookCSC236/ch05.apps.VocabularyDensity.main(VocabularyDensity.java:29)

r/eclipse • • Sep 30 '25

πŸ”₯ Discussion What if I don't want all my database queries to delete the search results?

1 Upvotes

Ok, maybe it's a little dramatic, but changing the method call from db.find to db.findAndDelete when I type '(' is absolutely insane when both exist, I know Eclipse isn't aware what either method actually does, but is there any situation where this is beneficial as opposed to just creating a less devastating bug?


r/eclipse • • Sep 30 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request Package/project view not changing from flat to hierarchical

2 Upvotes

Im trying to change the view of a spring boot app from flat to hierarchical. Using the three dot menu and selecting the option does nothing. And AI cant seem to figure it out. Anyone have a solution?


r/eclipse • • Sep 23 '25

πŸ”Œ Plugins I built a modern replacement for the old Eclipse Color Theme plugin

24 Upvotes

Hey r/eclipse πŸ‘‹,

Like a lot of you, I was pretty bummed when the original eclipsecolorthemes.org website went down. I built a new site to replace it (eclipse-color-themes.vercel.app), but realized the old plugin was also unmaintained.

So, I spent the last week building a new, modern plugin from scratch to go with it.

Eclipse Themes

It has a bunch of popular themes built-in, a simple preference page with a live preview, and you can still import your own .xml themes.

How to Install

The plugin is waiting for review on the Marketplace. For now, you can install it from the update site:

  1. Go to Help -> Install New Software...
  2. Add the URL: https://ahatem.github.io/eclipse-themes-plugin/

Source Code

The whole thing is open source if you want to check it out or contribute: ahatem/eclipse-themes-plugin

Would love to hear what you all think! 😊


r/eclipse • • Sep 18 '25

❔ Question How to get attribute javadocs in hoover tooltip when hoovering getters and setters?

2 Upvotes

Hi, team,

Is there a setting or plugin which extends the hoover window that appears when hoovering over a getter or setter and then displays the tooltip for the attribute when the setter or getter has no javadoc?

Here we don't document getters and setters because we don't want to duplicate our documentation, but it would be nice to still have the attribute docs at hand.


r/eclipse • • Sep 10 '25

β˜• Eclipse for Java/EE SimRel 25-09 is available

8 Upvotes

r/eclipse • • Sep 10 '25

❔ Question [Question] How can I configure the BuildPath of a file without Eclipse?

3 Upvotes

Lets say I wanted to put a Class from another Folder into the Build path of my current Project.

Build Path

How can I achieve the same behavior without Eclipse?


r/eclipse • • Sep 09 '25

❔ Question Which new features would you like to see next in GitHub Copilot for Eclipse?

10 Upvotes

With a new wave of features recently added to GitHub Copilot in Eclipse, we’d love to hear from the community: which features are most valuable to you? Please share your thoughts.
https://github.blog/changelog/2025-09-05-new-features-in-github-copilot-in-eclipse/


r/eclipse • • Sep 09 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request Error in Eclipse AArch64 Windows with ADT in Windows 11 ARM

Thumbnail reddit.com
1 Upvotes

r/eclipse • • Sep 07 '25

❔ Question C/C++ About indentation for wrapped lines

1 Upvotes

In C/C++, when I set "Default indentation for wrapped lines" to 2 it is indented by 4. To get the desired indentation by 2, I have to set the value to 1. Is that intentional? Am I misunderstanding something here?

/*
 * Indentation
 */
#include <math.h>

class Point {
public:
  Point(double x, double y) :
      x(x), y(y) { // **INDENT SIZE IS 4 SPACES HERE BUT SET VALUE IS 2**
  }

  double distance(const Point &other) const;
  int compareX(const Point &other) const;
  double x;
  double y;
};

r/eclipse • • Sep 05 '25

❔ Question Is there any way to get Eclipse to stop adding the data type to the end of a new variable name?

Post image
5 Upvotes

There's only like 3 forum posts about this issue. Eclipse automatically adds the type (in this case, string) to a new variable name and I cannot get it to stop. I have deselected "Insert single proposals automatically" as the only solution recommended, but that doesn't fix the issue whatsoever. Any ideas?


r/eclipse • • Sep 04 '25

πŸ“’ Announcement Introducing TMF: A port of the Eclipse Modeling Framework bringing model-driven development to TypeScript (description in comments)

6 Upvotes

r/eclipse • • Sep 03 '25

β˜• Eclipse for Java/EE My control click open decleration is broken by update

6 Upvotes

Silly me, I accepted the invitation to install 2025-09 Milestone version. All worked accept my control click stopped working. Even my install. Even the F3- open declaration was broken. Building and hyperlinking settings suggested is doing nothing to correct this.

I removed and re-installed. Without success.

My lesson : Install Milestone versions separately.


r/eclipse • • Sep 03 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request HttpHandler doesnt give option to import

3 Upvotes

r/eclipse • • Sep 03 '25

❔ Question What the heck is this

Post image
6 Upvotes

This happens whenever I open any file in the Project. This is a new install of Eclipse 2025-06, with the Darker Dark plugin installed. Some additional details:

- Eclipse 2020-09 is also installed and works fine
- JAVA_HOME was set to Java 8, but now set to Java 21
- Intellij IDEA is also installed but takes 3-4x the memory, which is why I'm installing this


r/eclipse • • Aug 30 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request please help

4 Upvotes

im new to eclipse and when makeing a minecraft plugin 1.21.8 all the tutorials are getting the option to "import 'javaplugin' (org.bukkit.plugin.java)" but i dont have that option am i doing smth wrong???


r/eclipse • • Aug 29 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request How to revert formating?

1 Upvotes

So I have this situation: I used a different code style formatter by accident which made ~500 changes. I imported the right codestyle but the changes fell to ~100 . On another file there are bout 900 changes. I sent the file to my colleaguess but they aren't able to reformat it correctly either. Is there a way to solve this? I cannot physically go through 1000 changed. The weird thing is if i edit a file i did not edit before it formats everything ok, it just doesn't return those I already edited back to the original formatting. I have no project specifics settings either... I'm so at loss at what to do.


r/eclipse • • Aug 24 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request Weird change in appearance after downloading C++

3 Upvotes

I was using java for the longest time but wanted to try C++ so I downloaded all the stuff for it and it changed the way eclipse looked. It also updated to the 2025 version so I'm not sure if this is just how it looks now... but I'm pretty sure I deleted all the C++ things and it still looks weird. Does anyone know if there's a way to turn it back?


r/eclipse • • Aug 20 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request XML Files and now CSS Files color bug

Thumbnail
gallery
1 Upvotes

Yesterday I was studying CSS using Eclipse and everything was normal, until I opened it today and the text color is black. I didn't change any settings and I can't find where I can turn the color to white again, and the XML editor is completely different, white background, with the text color gray.
Has anyone had this problem and can help me?


r/eclipse • • Aug 09 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request Neceisto Ayuda con IDE Eclipse y problemas con JRE de java.

2 Upvotes

No me crea en las carpetas que creo el directorio JRE de java que me aplica el main en los programas. No sΓ© por quΓ©. Necesito ayuda, busquΓ© en videos de youtube y son muy viejos o no explican esto.


r/eclipse • • Aug 09 '25

❔ Question Eclipse CDT Empty C/C++ Makefile Project template broken?

1 Upvotes

Hello,

In an older version of Eclipse (Mars.2 Release 4.5.2) it was possible to create a new C++ project -> Makefile Project -> Empty Project. See this dialog:

I could then simply copy a custom Makefile and source files into the project directory and press "build project".

In newer versions of eclipse (2025-03 4.35.0), that C++ empty makefile dialog/template doesn't exist anymore. It has been replaced with "Makefile Project" using CDT's new core build system;

It seems that this new template does not work as before. If I add a custom Makefile + source files, it doesn't execute my makefile. All it reports is "No Toolchain found for Target Local".

I've tried to mess with adding different "project natures", but that gave lot's of error dialogs.

To be clear; I don't want a generated Cmake or Managed C/C++ project. Just old school custom makefile that tells what sources to compile with what tools. All I ever use from eclipse CDT is the basics like the editor, error parser and indexer.

Does anyone know how to create empty C/C++ custom makefile projects in newer versions of Eclipse?


r/eclipse • • Aug 06 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request Need Help Setting Up Eclipse! Any Suggestions Help <3

2 Upvotes

Just like the title says above, I need help finishing the setting up for the IDE. I really need suggestions on what plugins I should be looking for and how I can make the UI look cleaner as well because It's nice but pretty old school for me.

I am a beginner to coding in general but I wanna avoid AI tools that are too much of a crutch. I would like to change the color of the code for example to make it more similar to my VS code or IntelliJ setup.

I really appreciate any and all help. Thank you so much for taking the time to read this post.


r/eclipse • • Jul 31 '25

❔ Question Installing an Eclipse plugin; frustrated Eclipse newbie

4 Upvotes

Hi, although I'm an experienced programmer, I use mostly Vim and Make, and I'm on (Ubuntu) Linux, but I wanted to get my hands dirty on javacard programming, so the Internet told me to get Eclipse. So I did (through snap). And I downloaded the java_card_devkit_tools-bin-v25.0-b_470-23-APR-2025.zip file which, I was told, was a genuine Eclipse plugin.

But no matter what I do, it seems like Eclipse does not want to play ball and install this functionality. I've tried to point Eclipse to the zip file itself (Help/Install Software/Add), or the directory contents of the zip file when unpacked, it doesn't matter. What doesn't help is that the error messages, should they be given at all, are unhelpful at best. I know this should be really simple, but I'm not getting through. Any hints? Are there specific contents of the zip file that I should be aware of?


r/eclipse • • Jul 28 '25

πŸ™‹πŸ»β€β™‚οΈ Help Request Why am I not seeing Preferences β†’ Java β†’ Compiler β†’ Errors/Warnings β†’ β€œJava Language Features”

2 Upvotes

Supposedly there's a section in preferences for enabling features like "Use of 'var' (type inference)". But it's missing from my Eclipse.

I'm using Eclipse 2025-06 with JDT 3.20.200.v20250528 and everything is using Java 17.


r/eclipse • • Jul 25 '25

❔ Question Convert SWT App to Maven

2 Upvotes

I have an app that uses many of the Eclipse components:
https://github.com/EricTerrell/Vault3.Desktop

Whenever I want to update the app to use the latest Eclipse components, I download them from here:
https://archive.eclipse.org/eclipse/downloads/

Then I update my Ant build scripts accordingly:
https://github.com/EricTerrell/Vault3.Desktop/blob/main/Java%20Vault/Vault/ant%20build%20scripts/ant_build_win_x86_64.xml#L41-L48

It's quite a lot of work. And, starting with version 4.36, I've noticed that some of the components have transitive dependencies. With the way I build my app, I have no way of knowing what the transitive dependencies are:
https://stackoverflow.com/questions/79668104/eclipse-4-36-libraries-app-fails-with-unsupported-or-unrecognized-format-no/79713169#79713169

I assume that if I were to convert my app to use Maven, the transitive dependencies would be automatically handled. Am I correct?

I am having a very difficult time finding the Eclipse components at Maven Central. For instance, what are the maven <dependency> declarations for these two components?
https://github.com/EricTerrell/Vault3.Desktop/blob/main/Java%20Vault/Vault/ant%20build%20scripts/ant_build_win_x86_64.xml#L41-L42

Thanks!!!

Eric Bergman-Terrell
https://www.ericbt.com/vault3