Link to home
Start Free TrialLog in
Avatar of naseeam
naseeamFlag 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
SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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
Have you tried adding the value for the Java memory allocation?
User generated imageDo 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
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,
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
Avatar of naseeam

ASKER

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

Exactly from where do I get the latest version of Java ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
make sure to install the downloaded setup 'as administrator'. otherwise you might run into same issue again.

Sara
Avatar of 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' ?
Avatar of naseeam

ASKER

I'm the administrator on my PC
Avatar of naseeam

ASKER

Above Java installation link has multiple install links.  Exactly, what program(s) do I install?
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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of naseeam

ASKER

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