Eclipse executable could not find its shared Companion library
I am starting java and reading the book "Java in 24 Hours of the Sixth Edition" by Rogers Cadenhead. I'm in chapter 24 "Building an Android Application". The book said that I download the Eclipse and Android SDK to my computer and unzip the zip files they come with. I put them in one parent file ( C:\Documents and Settings\Administrator\My Documents\Downloads
). Then the book says that I can start Eclipse now and instead I get the message:
"The Eclipse executable cannot find its companion Shared Library."
Is there a way to fix this? Do I just have to reinstall the SDK and Eclipse? I downloaded the Windows 64-bit SDK and I have windows 64-bit. Any information on how to fix this would be most appreciated.
source to share
open eclipse.ini and caopy & paste ...
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program files\Java\jdk1.6.0_26\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m
If I were you I would not have downloaded the ADT package as the Eclipse that comes with this version was a bug the last time I tried it and I ended up uninstalling Eclipse and downloading Eclipse Kepler myself and the SDK by yourself
If you still cannot solve this problem, try:
Download Eclipse and SDK separately, then follow the instructions on the SDK website to enable it.
source to share
I experienced this error as well. For me it was a simple but rather strange problem. Eclipse requires "plugins / org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar" (see Eclipse.ini) to run. For some reason, the built-in file unpacking did not extract all files from the plugins folder correctly. Running it again seemed to work for some reason. So make sure all files have been extracted correctly.
source to share