Avatar of naseeam
naseeam
Flag for United States of America asked on

Unable to start eclipse ?

I installed Eclipse C/C++ Development Tool (CDT).

I started Eclipse by running "eclipse.exe" in the Eclipse installed directory but attached Java error?
Java-Error.PNG
CEditors IDEsC++Java

Avatar of undefined
Last Comment
naseeam

8/22/2022 - Mon
SOLUTION
sarabande

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Radek Baranowski

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Ferruccio Accalai

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
CEHJ

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
naseeam

ASKER
Attached is information about Java installed in my machine and my computer.
Java-in-Program-Files.PNG
Java-Program-Files--x86--Folder.PNG
Java-Programs-installed.PNG
My-Computer.PNG
Ferruccio Accalai

Have you tried adding the value for the Java memory allocation?
Enviroment variable for Java OptionsDo you have Razer Synapse installed?
Take a look at this discussion to understand how to manage the Java memory allocation
Environment variable and Java Options
sarabande

i hope one of the suggestions has helped.

if not, are you allowed to uninstall Java 6 and reinstall it on your computer 'as administrator'?

if yes, you should do it and then use the JRE that came with the eclipse (should be Java 6 as well but perhaps a newer version).

note, it is not so bad running Eclipse always in administrator mode. you could spare one click by creating a new desktop icon for Eclipse, where you can check 'run always as administrator' in the advanced ... property page of the link. then you can left-click and don't have to choose 'run as administrator' when starting eclipse.

off-topic: i see your pc has 3 GB installed RAM although it is 64-bit windows. 3 GB was a limitation for 32-bit Windows. it is good likely in my opinion that your mainboard actually has 4GB RAM installed. if so, you should try to use the memory,
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
CEHJ

You should start by uninstalling all Java 6 and get the latest version. The version you have is not only way out of date but contains serious security issues
naseeam

ASKER
I uninstall Java 6 from "Control Panel"  -    "Program and Features"  ?

Exactly from where do I get the latest version of Java ?
SOLUTION
CEHJ

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
sarabande

make sure to install the downloaded setup 'as administrator'. otherwise you might run into same issue again.

Sara
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
naseeam

ASKER
I changed the variable to     -Xmx512M      but I still couldn't invoke eclipse.  So, I deleted this variable.

I uninstalled java 6.

I was going to  re-install java but I'm confused about 'administrator'.  Only I use this computer.  Exactly how do I install downloaded setup 'as administrator' ?
naseeam

ASKER
I'm the administrator on my PC
naseeam

ASKER
Above Java installation link has multiple install links.  Exactly, what program(s) do I install?
Your help has saved me hundreds of hours of internet surfing.
fblack61
sarabande

can you show the files/folders you downloaded?

normally there is a setup.exe or self-unpacking .exe file. you install with administrator rights by right-clicking on the .exe file and choose 'as administrator'. some (or even most) Setup programs would require administrator rights anyhow, what means that they would ask whether you allow to proceed when you start the Installation. note, if there are more than one .exe file in the download, it shouldn't make any harms if you hit the wrong one first. if there is no .exe you might have a .zip or .msi file. if you don't see any ..xxx extensions with the downloaded files, you may check the file type which should be application or setup/installation.

Sara
ASKER CERTIFIED SOLUTION
CEHJ

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
naseeam

ASKER
Great job in answering the question.  Eclipse runs after java installation.