Factsheet
What folder should I install Eclipse to on Windows? - Stack Overflow
java - The application “Eclipse” can’t be opened. (macOS Monterey) - Stack Overflow
eclipse - Oomph installer error: The catalog could not be loaded - Stack Overflow
Installing Eclipse IDE for multiple users [Windows]
Videos
I setup Eclipse in
c:\software\eclipse_{version}\
I keep all my open source packages (ANT, Maven, Apache, etc) in c:\software as well. Then I add the necessary directories to my $PATH variable (c:\software\ant\bin).
I also keep the Eclipse workspace under c:\software\eclipse_workspace.
The big plus behind this setup is portability. I can simply move the entire folder to a new drive, re-setup my path, and boom everything works. No interference from registry settings at all. Makes it very easy to backup.
This approached worked for XP, Windows7 RC1 and Windows7 Professional without issue.
You can install (unzip) an eclipse:
- anywhere you want (meaning you don't have to install it on
c:\Program Files(I install it for instance onc:\prog\java\eclipse, a directory tree I create - with a workspace set anywhere you want (for me:
c:\prog\java\workspace, and I reference that workspace in my eclipse.ini.
This is important because the default location of a workspace (using user.home) is not always a good idea (see this SO question and its associated eclipse bug which will be solved only with the upcoming eclipse Helios 3.6) - with plugins set anywhere you want through a Dropins folder (also referenced in the eclipse.ini, for me:
c:\prog\java\myplugins) - with a JVM installed anywhere you want (also referenced in the eclipse.ini, for me:
c:\prog\java\jdks\jdk6u18, and I have installed several others jdks inc:\prog\java\jdks)
Eclipse shouldn't ever have to be in c:\Program Files, and the setting describe above works perfectly with:
- Vista or Seven, UAC fully activated
- XP, with no Administrator rights.
Faced the same issue each time I'm restarting the Macbook pro M1, and a random Reddit thread provided me with a way to fix it. Open a terminal and run,
sudo codesign --force --deep --sign - /Applications/Eclipse.app
Not sure why this codesigning fixes the problem. But seems to be a bug in the eclipse itself. Hope this helps someone.
I faced the same issue each time I restarted the Macbook pro M1 Max,(Note Eclipse was downloaded via Homebrew) and tried below but it turned out to be "/Applications/Eclipse.app: Is a directory"
sudo codesign --force --deep --sign - /Applications/Eclipse.app
the issue was the file structure Eclipse saved was different (you can check the file structure by cd to the Eclipse through the terminal) as per the file structure, the path was
sudo codesign --force --deep --sign - /Applications/Eclipse\ JEE.app
I hope this helps someone.
I experienced something similar today. For me, it related to my company's internet making use of a security tool called Netskope that intercepts https traffic (yep, companies are sniffing our private traffic too now ;)).
I've experienced similar network issues with other tools at work (like python pip installer), and our IT dept advised that we need to install a Netskope root certificate into any tool we use that doesn't make use of the operating system's security store (and they use their own).
So, to get a feel for how this issue impacted me in relation to this "eclipse-inst-jre-win64.exe" installer file, I learnt that I could run the installer with an extra argument, to specify my own jvm:
eclipse-inst-jre-win64.exe -vm "C:\Program Files\Java\jre1.8.0_251\"
This got me the following error:
...and that was the clue I needed to realise that this Eclipse installer .exe had JDK 11 built into it.
So, given that, I felt that I should try download my own JDK 11 and add this 'netskope.pem' root certificate into that, so I'll share my steps in doing so:
I grabbed jdk-11 from here:
- http://jdk.java.net/java-se-ri/11
I extracted the “openjdk-11+28_windows-x64_bin.zip” file onto my local drive
- E.g. to “C:\Users\GurceI\Downloads\jdk-11\”
Added ‘nscacert.pem’ to jdk-11’s keystore from the command-line, with:
cd c:\Users\GurceI\Downloads\jdk-11\
bin\keytool.exe -import -keystore lib\security\cacerts -file c:\ProgramData\netskope\stagent\download\nscacert.pem
(default keystore password = “changeit”)
I then ran the eclipse-installer with an extra argument to point it to my jdk-11 (rather than its internal one):
eclipse-inst-jre-win64.exe -vm "C:\Users\GurceI\Downloads\jdk-11\"
...and then, finally, the installer worked, no more network issues :)
I got the same error with "The catalog could not be loaded. Please ensure that you have network access... on my Windows 10 laptop.
I know the installer works since I was able to install Eclipse on another system. I went to eclipse.org, then to More, Eclipse IDE Download, then choose "Get Eclipse", then click on Download Packages. Choose your OS. In my case, I chose Eclipse IDE for Java Developers, Windows x86_64. This will start downloading the eclipse install .zip file.
Once unzipped, I was able to install by launching the .exe.
Hope this helps.