Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse for C++ won't start on Ubuntu 20.04
Eclipse for C++ won't start on Ubuntu 20.04 [message #1848481] Fri, 03 December 2021 21:31 Go to next message
Eclipse UserFriend
I installed downloaded and extracted `Eclipse IDE for C/C++ Developers` from https://www.eclipse.org/downloads/packages/ (The Linux x86_64 version). When I try to run the eclipse binary, I get a popup:

Quote:

An error has occurred. See the log file
/home/josh/Downloads/eclipse-cpp/eclipse/configuration/1638583987805.log.


That log file is attached.

I followed the advice in the sticky and modified the eclipse.ini file to point to an Oracle JDK 11 binary. It is attached.

How can I fix this? I'll note that I'm on Ubuntu 20.04. Eclipse IDE for Java Developers works out of the box. All I have to do is download the tarball, extract it, and run it.
Re: Eclipse for C++ won't start on Ubuntu 20.04 [message #1848484 is a reply to message #1848481] Sat, 04 December 2021 10:24 Go to previous messageGo to next message
Eclipse UserFriend
You must have edited the eclipse.ini for it to contain
-vm
/usr/local/bin/java11-oracle
I thought the C/C++ package came packaged with a JRE. Does the folder /usr/local/bin/java11-oracle contain the java executable file? This should point at a folder with the executable...
Re: Eclipse for C++ won't start on Ubuntu 20.04 [message #1848488 is a reply to message #1848481] Sat, 04 December 2021 11:30 Go to previous messageGo to next message
Eclipse UserFriend
I suggest that you delete the Eclipse installation, download the Eclipse installer for Linux and use it to install the main system. Remember to update the installer before using it.

Check that your Ubuntu installation has the build-essential Linux package installed.
Re: Eclipse for C++ won't start on Ubuntu 20.04 [message #1848494 is a reply to message #1848488] Sat, 04 December 2021 19:14 Go to previous message
Eclipse UserFriend
So it's fixed. As it turns out, I somehow managed to get an old download link (no idea where from).
Previous Topic:Eclipse 2021-06 Installation Issue
Next Topic:Hi I need Help I USe Oracle for Web and Java Devs
Goto Forum:
  


Current Time: Wed Jul 30 19:22:37 EDT 2025

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

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

Back to the top