naseeam
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
I started Eclipse by running "eclipse.exe" in the Eclipse installed directory but attached Java error?
Java-Error.PNG
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have you tried adding the value for the Java memory allocation?
Do 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
Do 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,
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
ASKER
I uninstall Java 6 from "Control Panel" - "Program and Features" ?
Exactly from where do I get the latest version of Java ?
Exactly from where do I get the latest version of Java ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
make sure to install the downloaded setup 'as administrator'. otherwise you might run into same issue again.
Sara
Sara
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' ?
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' ?
ASKER
I'm the administrator on my PC
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great job in answering the question. Eclipse runs after java installation.
ASKER
Java-in-Program-Files.PNG
Java-Program-Files--x86--Folder.PNG
Java-Programs-installed.PNG
My-Computer.PNG