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
LVL 1
naseeamAsked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
Exactly, what program(s) do I install?

jre-8u111-windows-x64.exe
0
 
sarabandeConnect With a Mentor Commented:
check your installed programs whether there is a java runtime available. if yes, uninstall it and reinstall a new one from non-admin account. if no, check other computers which java runtime they were using and try to get the same one.

note, uninstalling and reinstalling is necessary to get the needed environment variables set, such that Eclipse can find the Java.

Sara
0
 
Radek BaranowskiConnect With a Mentor Full-stack Java DeveloperCommented:
Try running eclipse.exe as administrator.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Ferruccio AccalaiConnect With a Mentor Senior developer, analyst and customer assistance Commented:
It could be an issue about memory used by Java.
I got this matter in the past and solved by following a tutorial around the web.
What I did was :
Open the Control Panel
Go to System
Go to Advanced Systems Properties
Then Environment Variables
In System Variables, click Add
New Variable Name: _JAVA_OPTIONS
New Variable Value: -Xmx512M
Click OK
0
 
CEHJConnect With a Mentor Commented:
Make sure as well that you have 64 JRE installed if you're using a 64 bit machine
0
 
naseeamAuthor Commented:
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
0
 
Ferruccio AccalaiSenior developer, analyst and customer assistance Commented:
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
0
 
sarabandeCommented:
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,
0
 
CEHJCommented:
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
0
 
naseeamAuthor Commented:
I uninstall Java 6 from "Control Panel"  -    "Program and Features"  ?

Exactly from where do I get the latest version of Java ?
0
 
sarabandeCommented:
make sure to install the downloaded setup 'as administrator'. otherwise you might run into same issue again.

Sara
0
 
naseeamAuthor Commented:
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' ?
0
 
naseeamAuthor Commented:
I'm the administrator on my PC
0
 
naseeamAuthor Commented:
Above Java installation link has multiple install links.  Exactly, what program(s) do I install?
0
 
sarabandeCommented:
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
0
 
naseeamAuthor Commented:
Great job in answering the question.  Eclipse runs after java installation.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.