Eclipse for C/C++ closes as soon as I open - c

I have Eclipse for java on my laptop aswell as the most recent jdk and jre, all of this works fine. I have recently started C programming and downloaded the C version of eclipse. I then copied the file from downloads to my own directory. The problem is that when I try and open eclipse the splash screen shows up for half a second then disappears, eclipse then doesnt open. How can I fix this? I have found people with similar problems but none of their solutions work for me.
Note: I also have the C compiler: Fortran, C and C++ for Windows downloaded in the same directory as my eclipse folder if that matters.

Try a couple of things.
Uninstall and reinstall Eclipse.
Make sure you have the latest version of Java and JDK. Eclipse needs Java to run.
Sometimes, having multiple versions of java can also cause problems so uninstall unnecessary and old versions of java.
Also make sure that Java Home location is added to the environmental path variable.
One of these solutions should fix the problem. Hope this helps :)

Related

Resource "/projectnamehere/.settings' already exists in Eclipse

I downloaded the newest version of Eclipse on an M1 Macbook Pro.
I downloaded the plugin from the Eclipse Marketplace. It's version 6.0
I made a new project, and when I get to the "finish" screen, I get this error:
Then, if I click finish again I get this error, which is the error that keeps showing up no matter how many times I click finish:
Some stuff ends up actually getting built in the project:
My professor doesn't know how to fix it, and there's nothing on Google. How can I make this work normally like it's supposed to? Thanks :)
The plugin is no longer supported for newer versions of Eclipse as we migrated to maven a while back.
You have two options
Use an old Intel version of Eclipse that predated the change to work with a legacy project.
Migrate the project to a Maven project which will work with all IDEs and doesn't use the plugin at all.

Eclipse: Cant finish creating new C Project

Hello dear Eclipse developer,
I am already pretty desperate about figuring out the following problem, and maybe you can be part of the solution.
So heres the Context:
I want to develop an application for a Nucleo STM32F401RE Microprocessor Developmentboard.
To do so i need to set up the Eclipse Oxygen 3 IDE for my Windows XP x86 OS as descriped in this guide:
https://www.carminenoviello.com/2014/12/28/setting-gcceclipse-toolchain-stm32nucleo-part-1/
In short:
Install Eclipse Oxygen 3
Install C/C++ Development Tools
Install the GNU ARM plug-ins for Eclipse
Install the GCC ARM tool-chain
Install the Build Tools
Install the ST Link drivers for STM32Nucleo board
Every Step worked as expected and as descriped in the guide so far.
The next step is creating a test project, so I followed the project creation wizard for c/c++ projects in eclipse, which worked fine as well until i reached the very last step of the project creation wizard.
The last step wants me to select the path to the used Cross GNU ARM Toolchain which has already been installed in previous steps of the guide.
So i filled up the form fields, but the "Finish" and the "Next" Button stays greyed out! The "Back" Button is not working as well, so i literally cant do anything in this dialog field anymore, but cancel the project creating.
Someone went through this before and has an idea what the problem is and how to fix it?
Is it a bugg in eclipse?
Did i do something wrong ?
I've taken an Image to show what the problem is:
Thanks for your attention, dear developer. Good answers will make me a fan of yours.
UPDATE
Starting Eclipse with the errorlog console brought the following error when starting the project creation Wizard:
Managed Build system manifest file error: Duplicate identifier ilg.gnuarmeclipse.managedBuild.cross.toolchain.lib.release for element type ToolChain
This is the first time i get in touch with eclipse.
Can someone explain what this means and how to get rid of it?
I'm using Eclipse Photon and tried the installation through marketplace and manual installation of versions 4.4.1 and 4.3.3 but I'm still experiencing the same issue than you.
The solution was to uninstall Eclipse Photon and install Eclipse Oxygen 3a. Now the project creation works properly.
Regards.
I had the same experience for my first eclipse project. After checking the installation of plugins in the Eclipse IDE, I found there are two versions of GNU MCU C/C++ (...) installed. The problem solved by uninstalling one of them. Hopes that could help someone later. I spend the whole day to solve the problem! lol
Uninstalling GNU MCU does the trick and soled the issue.

How to stop parsing project when open Netbeans project

I'm devoloping in a large project C language with Netbeans 8.2 IDE. First time I create project from source code, Netbeans parse project in a long time and it was succeed. But when I reopen this project, Netbeans reparse project, it make my computer slow, I can't do anything.
I have finded in google, there are some ways to fix it like disable reparse project but in version 8.2, I can't find that option.
Can you help me? Thank you very much!

Eclipse Juno 4.2 Google Plugin not installing: Cannot complete install because one or more required items could not be found

This is the error message I get:
Cannot complete the install because one or more required items could not be found.
Software being installed: Google App Engine Tools for Android 3.1.0.v201208080121-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group 3.1.0.v201208080121-rel-r42)
I've tried numerous things including manually downloading the file from here and also I snooped around StackOverflow and I tried just moving all the plugins from the manual download into the plugins folder of my Eclipse. That didn't help me though because my perspective did not update with the plugins and I couldn't find the "Create New Web Application" option. I've also read some things about the XML file being wrong but I can't find it and those were for other Eclipse versions so I don't know if it applies to me.
I also tried excluding Google App Engine Tools for Android 3.1.0 but then it just says the next one in the list can't be found.
I'll be more than happy to provide anymore information. I am running Eclipse Juno 4.2 and Java 1.7 (I also have 1.6 installed though). I am using a Windows 7 PC. Thank you guys so much! I just want to code :[
I did not work for me with this URL: http://dl.google.com/eclipse/plugin/4.2
It worked with this one: http://dl.google.com/eclipse/plugin/3.8
I just changed 4.2 to 3.8.
I faced a similar problem I was downloading with 120 kb/s every time the download breaks down
when I moved to another place and downloaded the plugin with highest speed 400 kb/s It successfully downloaded and no problems found
You might think that issue is out of logic but that what I reached so far
Hope that Helps
I know this is a very old question but recently I found a solution to my problem so I am going to personally update the answer. For some reason, Eclipse Classic 4.2.2 Juno does not come with some of the required packages. After talking to some people, they recommended simply downloading Eclipse IDE for Java EE Developers which simply comes with most of the packages necessary. From there, it just worked!
My friend also mentioned you could try to manually download the packages on Eclipse Classic but that is far more of a hassle.
Hope this helps!

Google App Engine .jsp Problem

I just created a .jsp file in my google app engine project. How to resolve the below error.
Description Resource Path Location Type
Your project must be configured to use a JDK in order to use JSPs
proj1.jsp
/Proj1/war Unknown Google App Engine Problem
Kindly let me know.
it is the error. In order to compile jsp you need a jdk installed in your system. If you are running on a JRE you will get this error. Also make sure that your project has been configured with a jdk in it's path.
For sake of improving answers
stack over flow reference
.jsp file not working for Google App Engine guestbook tutorial
the accepted answer was a year ago
updated answer from reference
In the end I seem to have wasted my bounty as I found the solution (with a little help) myself.
The problem arose because I was unfamiliar with Eclipse. When I found the more verbose error message Your project must be configured to use a JDK in order to use JSPs guestbook.jsp.
It was located in a tab called 'Markers' in pane found at the bottom of the Eclipse window.
It seems that Eclipse wasn't aware that I had installed the JDK.
In Eclipse I went to menu Window->Preferences->Java->Installed JREs . Eclipse had only one entry there named jre6 I clicked the Add... button Chose Standard VM and browsed to the base directory of the jdk (in my case C:\Program Files\Java\jdk1.6.0_20)
I rebuilt my project but the same error was there. I had forgotten to check the box that tells Eclipse to use the jdk instead of the jre.
As soon as I did that Eclipse rebuilt my project and the error was gone.
To solve this problem, first please confirm that JDK is already install on your computer. If it not available, go to Oracle JDK hompage to download and install it.
Then follow some steps to config JDK.
When JDK is configured, return eclipse and build project if you still get current error, I decide you are using JRE instead JDK. Choose Prefrences - Java - Install JRE - Un-check JRE and check JDK
Rebuild project
Hope this help!
Set JDK as your Installed JREs in Eclipse.
In Eclipse Window->Preference->Java->Installed JREs
Click on Add Button | Select VM ->Add JRE
Select Folder of jdk as "JRE Home" Directory.
Click OK.
Build your GAE Project
JFTR:
For those who use Ubuntu and OpenJDK, and may come here looking for help on the same issue: EVEN when it is called Open*JDK* (i.e. java-6-openjdk) actually you may have installed only the JRE part since they are on different packages, so you need to install also the JDK. For version 6 this is done via:
$ sudo apt-get install openjdk-6-jdk
Note that you may have yet an openjdk-6-jre in your system.
If your problem persist, you must sure that in your project use JDK library. Go to your project->click right->Build Path->Configure Build Path->Add library->JRE System Library->Select "Workspace default JRE (jdk1...)"->Finish, and in "Order and Export" UP your JDK Library above JRE Library. When you save your proyect it´s ok.

Resources