Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to Launch Freshly Installed Eclipse on Windows 10
Unable to Launch Freshly Installed Eclipse on Windows 10 [message #1864604] Wed, 27 March 2024 19:49 Go to next message
Michael Mast is currently offline Michael MastFriend
Messages: 8
Registered: September 2014
Junior Member
I download eclipse-inst-jre-win64.exe and launch it. I select the Eclipse IDE for Enterprise Java and Web Developers and point the installation directory to C:\Eclipse.

The install proceeds normally, finally presenting me with a Launch button. I click this and Eclipse launches normally.

I exit Eclipse and double click on the desktop icon produced by the installation. The Eclipse splash screen appears briefly and disappears. In Task Manager, I can see Eclipse very briefly appearing and then disappearing.

From a command window, I navigate to C:\Eclipse\eclipse and type eclipse. The same thing happens; it briefly appears and then disappears.

It does NOT attempt to write to the .metadata\.log file in my workplace directory.

From within the eclipse directory, I type eclipsec -consoleLog and the result is:

C:\Eclipse\eclipse>eclipsec -consoleLog
Error occurred during initialization of VM
java.lang.InternalError: Could not create SecurityManager: allow
        at sun.misc.Launcher.<init>(Unknown Source)
        at sun.misc.Launcher.<clinit>(Unknown Source)
        at java.lang.ClassLoader.initSystemClassLoader(Unknown Source)
        at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)


Why can't I launch Eclipse from the desktop icon or from the command line, but the installation program was able to launch it when Launch is pressed?
Re: Unable to Launch Freshly Installed Eclipse on Windows 10 [message #1864606 is a reply to message #1864604] Wed, 27 March 2024 23:03 Go to previous message
Michael Mast is currently offline Michael MastFriend
Messages: 8
Registered: September 2014
Junior Member
I resolved this issue by launching Start > Control Panel > Programs and Features and then uninstalling a previous version of Java. It did not occur to me to look here because I had "confirmed" (or so I though) that I was running the correct version of Java by running the following test:

C:\Windows\System32>java -Djava.security.manager=allow -version
java version "17.0.3.1" 2022-04-22 LTS
Java(TM) SE Runtime Environment (build 17.0.3.1+2-LTS-6)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.3.1+2-LTS-6, mixed mode, sharing)

C:\Windows\System32>


The above results despite the fact that a previous version of Java had been installed.
Previous Topic:How to run JUnit plugin tests from command line?
Next Topic:The operation cannot be completed. See the details
Goto Forum:
  


Current Time: Sun Sep 08 06:13:11 GMT 2024

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

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

Back to the top