Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Starting up badly in Windows 10(Using desktop shortcut, Eclipse starts but with broken features)
Starting up badly in Windows 10 [message #1838712] Thu, 04 March 2021 02:32 Go to next message
Barry Demchak is currently offline Barry DemchakFriend
Messages: 6
Registered: October 2010
Junior Member
Hi --

When I install Eclipse and then launch from the installer, I get a perfectly functional Eclipse.

If I terminate Eclipse and then restart using the desktop shortcut created by the installer (or executing eclipse.exe directly), for example, I find that Run | Run Configurations produces an exception creating launch configuration tabs (see attached pictures).

To get Eclipse to work properly, I have to delete it and re-install it, and launch Eclipse from the installer again.

What could be going wrong here?? Are there runtime options missing in the desktop shortcut?

(Other features break, too, but I thought I'd keep this question simple.)

index.php/fa/40074/0/
index.php/fa/40075/0/
  • Attachment: Capture.JPG
    (Size: 33.95KB, Downloaded 71 times)
  • Attachment: Capture1.JPG
    (Size: 17.42KB, Downloaded 67 times)
Re: Starting up badly in Windows 10 [message #1838718 is a reply to message #1838712] Thu, 04 March 2021 06:10 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31959
Registered: July 2009
Senior Member
Does your eclipse.ini have a -vm option in it? Is that the one that you choose to use on the second page of the installer?

There is a bug in the 2020-12 installer that the application launched from the installer is using the installer's JRE:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=569513

But that should cause the opposite problem that you're seeing. I.e., the IDE launched by the installer should not work quite right. Hence the question about the -vm argument in the eclipse.ini because that's the JRE/JDK that will be used and that apparently isn't working quite right.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Starting up badly in Windows 10 [message #1838766 is a reply to message #1838718] Thu, 04 March 2021 17:56 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 730
Registered: July 2009
Senior Member
It might be helpful to examine the eclipse log file. This error will likely be in the log, but there may be other messages before this that might provide additional context. I also note that don't see where you indicated what Eclipse version you're installing here.
Re: Starting up badly in Windows 10 [message #1838780 is a reply to message #1838712] Thu, 04 March 2021 22:27 Go to previous messageGo to next message
Barry Demchak is currently offline Barry DemchakFriend
Messages: 6
Registered: October 2010
Junior Member
Hi, all --

Based on the kind responses by Ed Merks and David Karr, I dug a little deeper, and I think I have the culprit.

During the installation process, there was a prompt to choose the JVM ... it looks like the requirement was that I choose something that was JVM 11 or later. The default was a JRE 11 I had installed for a different application. So, I chose it. (See screenshot)

index.php/fa/40084/0/

When I wipe out my Eclipse and use the installer, but choose JRE 15.0.2, all functions work as expected.

So, I think the problem may have been my using JRE 11 instead of JRE 15.

I'm not sure whether there's a difference between the JRE 11.0.2 offered by the installer and JRE 11.0.6 I was selecting.

I think I'm quite happy, though, that Eclipse is working! (BTW, I'm on Eclipse 2020-12.)

Any comments?
  • Attachment: Capture.JPG
    (Size: 54.93KB, Downloaded 47 times)
Re: Starting up badly in Windows 10 [message #1838781 is a reply to message #1838718] Thu, 04 March 2021 22:28 Go to previous messageGo to next message
Barry Demchak is currently offline Barry DemchakFriend
Messages: 6
Registered: October 2010
Junior Member
Thanks for the kind and quick reply ... I think the problem is that I selected JRE11 instead of JRE15 during installation. Please see my reply to myself (once it appears). There's more information there.
Re: Starting up badly in Windows 10 [message #1838782 is a reply to message #1838766] Thu, 04 March 2021 22:29 Go to previous messageGo to next message
Barry Demchak is currently offline Barry DemchakFriend
Messages: 6
Registered: October 2010
Junior Member
Thanks for the kind and quick reply ... I think the problem is that I selected JRE11 instead of JRE15 during installation. Please see my reply to myself (once it appears). There's more information there.
Re: Starting up badly in Windows 10 [message #1838784 is a reply to message #1838780] Thu, 04 March 2021 22:55 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 730
Registered: July 2009
Senior Member
If that Java 11 distribution is actually a JRE, and not a JDK, then it would fail in various ways. I imagine your Java 15 JRE Is actually a JDK, as that worked. Eclipse needs a JDK.
Re: Starting up badly in Windows 10 [message #1838786 is a reply to message #1838784] Thu, 04 March 2021 23:55 Go to previous message
Barry Demchak is currently offline Barry DemchakFriend
Messages: 6
Registered: October 2010
Junior Member
I think that's exactly right ... the JRE was needed/installed for Cytoscape, which doesn't require a JDK.

This might explain a lot of what I saw ... like failure of Eclipse's debug-oriented packages to load.

This is very good news. Thanks!
Previous Topic:fixing code by cutting and pasting
Next Topic:Error occurred during initialization of boot layer
Goto Forum:
  


Current Time: Tue Jul 27 16:35:09 GMT 2021

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

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

Back to the top