Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Sat, 04 December 2021 02:31 Go to next message
Josh Levin is currently offline Josh LevinFriend
Messages: 2
Registered: December 2021
Junior Member
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 15:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
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...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse for C++ won't start on Ubuntu 20.04 [message #1848488 is a reply to message #1848481] Sat, 04 December 2021 16:30 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
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.


--

Tauno Voipio
Re: Eclipse for C++ won't start on Ubuntu 20.04 [message #1848494 is a reply to message #1848488] Sun, 05 December 2021 00:14 Go to previous message
Josh Levin is currently offline Josh LevinFriend
Messages: 2
Registered: December 2021
Junior Member
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: Thu Apr 25 09:17:03 GMT 2024

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

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

Back to the top