Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse will not work(The Eclipse executable launcher was unable to find its companion shared library)
Eclipse will not work [message #1461894] Wed, 05 November 2014 02:21 Go to next message
Phil Burney is currently offline Phil BurneyFriend
Messages: 4
Registered: November 2014
Junior Member
I have spend countless hours trying to install eclipse with no avail. When I open it in the files, it puts out an error box full of code and when I run it on the desktop, it says, "The Eclipse executable launcher was unable to locate it's companion shared library. I am running windows 64 bit using the 64 bit Jdk. As for the version of eclipse, I am using Eclipse Luna. Any reasons why it would not work?
Re: Eclipse will not work [message #1461981 is a reply to message #1461894] Wed, 05 November 2014 04:42 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Which Luna file did you download? Was it also 64-bit? What was in that error box (this being a technical forum, details like this matter).

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse will not work [message #1462804 is a reply to message #1461981] Thu, 06 November 2014 00:18 Go to previous messageGo to next message
Phil Burney is currently offline Phil BurneyFriend
Messages: 4
Registered: November 2014
Junior Member
Thanks for the quick reply. The version of eclipse is 64 bit and the error message is: Java was started but returned exit code= 13
C:\programdata\oracle\javapath\javaw.exe. That is two of the twenty plus lines the error box produces. Anything else that I may have missed?
Re: Eclipse will not work [message #1465231 is a reply to message #1462804] Sat, 08 November 2014 06:39 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Please give the actual file name you downloaded, and an image of the error dialog.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse will not work [message #1467060 is a reply to message #1465231] Sun, 09 November 2014 19:39 Go to previous messageGo to next message
Phil Burney is currently offline Phil BurneyFriend
Messages: 4
Registered: November 2014
Junior Member
index.php/fa/19818/0/ This is the screenshot. The file name is eclipse-java-luna-SR1-win32-x86_64
Re: Eclipse will not work [message #1468040 is a reply to message #1467060] Mon, 10 November 2014 14:26 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Did you follow the instructions in the "sticky" post at the top of this Newcomers forum, titled "Eclipse won't start? READ THIS FIRST" ? Specifically, the part about specifying the JVM via eclipse.ini
Re: Eclipse will not work [message #1468597 is a reply to message #1465231] Tue, 11 November 2014 00:20 Go to previous messageGo to next message
Phil Burney is currently offline Phil BurneyFriend
Messages: 4
Registered: November 2014
Junior Member
So if I was running JVM version 8 update 25, is that all i need and how would I specify it as the JVM in the eclipse.ini files?

Re: Eclipse will not work [message #1480802 is a reply to message #1468597] Thu, 20 November 2014 13:55 Go to previous messageGo to next message
A Shah is currently offline A ShahFriend
Messages: 1
Registered: November 2014
Junior Member
I am getting the same error message. Could you please define the steps to correct it.
Re: Eclipse will not work [message #1480825 is a reply to message #1480802] Thu, 20 November 2014 14:12 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
I'll repeat my question/suggestion: Did you follow the instructions in the "sticky" post at the top of this Newcomers forum, titled "Eclipse won't start? READ THIS FIRST" ? That post includes everything you need to correctly specify the JVM, just follow the links.
Re: Eclipse will not work [message #1481371 is a reply to message #1480825] Fri, 21 November 2014 00:23 Go to previous messageGo to next message
William LaMorie is currently offline William LaMorieFriend
Messages: 2
Registered: November 2014
Junior Member
I'm also running into this problem. I followed the suggestions from the
Quote:
instructions in the "sticky" post at the top of this Newcomers forum, titled "Eclipse won't start? READ THIS FIRST"
and that didn't do anything. I had been running eclipse kepler and this problem began for me after today's update of Java. During that update I updated to a more recent 1.7 and 1.8, and let the installer remove an older 1,7 and 1.6. When the error occurred, I presumed that it just had something to do with kepler being dated, so I removed and replaced with Luna.

The exact install packed I am using is:
eclipse-java-luna-SR1-win32-x86_64.zip

Here's a screen of my lil error box:
index.php/fa/19969/0/
  • Attachment: eclipse.png
    (Size: 96.40KB, Downloaded 46045 times)
Re: Eclipse will not work [message #1481579 is a reply to message #1480825] Fri, 21 November 2014 04:31 Go to previous messageGo to next message
Michael G is currently offline Michael GFriend
Messages: 6
Registered: November 2014
Junior Member
Eric,

I'd have to say, I'm having the same problem with Eclipse after updating Java just yesterday from version 7, to version 8 (build 1.7.0_60 to build 1.8.0_25).

I did read the post about changing my eclipse.ini file with the -vm option.

Today, I reinstalled eclipse. When I looked at the eclipse.ini file, before I made changes, it was all on one line, and hard to match up with the example given in the wiki article. I altered the original eclipse.ini file by adding line breaks where it showed them in the wiki article, and then added the -vm command, on a separate line, along with the path to my jre 1.8.0_25 javaw.exe file.

C:\Program Files (x86)\Java\jre1.8.0_25\bin\javaw.exe

And now I am getting the...sorry, doing this from memory, "Eclipse cannot find it's companion file" error.

Please provide a less cryptic solution.

-Mike
Re: Eclipse will not work [message #1481585 is a reply to message #1480825] Fri, 21 November 2014 04:38 Go to previous messageGo to next message
Michael G is currently offline Michael GFriend
Messages: 6
Registered: November 2014
Junior Member
This is what my edited eclipse.ini looks like now:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913
-144807

-product

com.android.ide.eclipse.adt.package.adtproduct
-showsplash
org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

-vm
C:\Program Files (x86)\Java\jre1.8.0_25\bin\javaw.exe
-vmargs

-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms512m
-Xmx1024m
Re: Eclipse will not work [message #1481849 is a reply to message #1481585] Fri, 21 November 2014 09:16 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Error 13 is most often a 32/64-bit mismatch. You're trying to use what's clearly a 64-bit Eclipse with what would be a 32-bit Java installation on a 64-bit system. The easiest thing to do is to go get the equivalent 32-bit Eclipse download to the 64-bit version you already have.

I've updated the sticky post contents.


_
Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Fri, 21 November 2014 09:47]

Report message to a moderator

Re: Eclipse will not work [message #1481945 is a reply to message #1481371] Fri, 21 November 2014 10:52 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 11/21/2014 02:13 AM, William LaMorie wrote:
> I'm also running into this problem. I followed the suggestions from the
> Quote:
>> instructions in the "sticky" post at the top of this Newcomers forum, titled "Eclipse won't start? READ THIS FIRST"
> and that didn't do anything. I had been running eclipse kepler and this problem began for me after today's update of Java. During that update I updated to a more recent 1.7 and 1.8, and let the installer remove an older 1,7 and 1.6. When the error occurred, I presumed that it just had something to do with kepler being dated, so I removed and replaced with Luna.
>
> The exact install packed I am using is:
> eclipse-java-luna-SR1-win32-x86_64.zip
>
> Here's a screen of my lil error box:

William,

In your case (alone), it would appear that you're using a 32-bit JRE
with with a 64-bit copy of Eclipse Luna. Don't mix the bittedness.

Cheers
Re: Eclipse will not work [message #1482204 is a reply to message #1481945] Fri, 21 November 2014 15:31 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
By the way, the point about 32-bit and 64-bit is mentioned in the sticky post; that's why I encourage everyone who has problems with Eclipse startup failure to read it.
Re: Eclipse will not work [message #1482220 is a reply to message #1482204] Fri, 21 November 2014 15:49 Go to previous messageGo to next message
Michael G is currently offline Michael GFriend
Messages: 6
Registered: November 2014
Junior Member
OK,

Follow up.

I am using the copy of Eclipse included with the Android Development Kit.

As I stated earlier, Eclipse stopped launching for me, when I update to Java 8, jre 1.8.0_25. Last night, after reading the newcomer's posts about this problem, I went back and made sure that I downloaded the 64-bit version of the JRE. I noticed now, that Oracle's download site, has made it a little more difficult to distinguish whether I'm downloaded a 32-bit version, or a 64-bit version of the JRE. That's what we need, more confusion.

Anyway, this morning, I tried pointing Eclipse, via the instruction concerning the -vr value, to both versions of the JRE on my computer, Java 8 and Java 7, still, I keep getting the "Eclipse executable launcher was unable to locate its companion shared library" error.

So, I removed the adt bundle, reinstalled it, which still contained the original eclipse.ini file, and run Eclipse. Miracle, upon miracle, Eclipse finally launched.

So, from my experience, if you've updated to Java 8, make sure that if you want the 64-bit version, to find it on the Oracle download site (making sure it's the 64-bit version is much harder than it need be), then uninstall the Adroid Development Kit, and then reinstall it. I believe you then have to reimport your projects back into your workspace.

-Mike
Re: Eclipse will not work [message #1482226 is a reply to message #1482220] Fri, 21 November 2014 15:52 Go to previous messageGo to next message
Michael G is currently offline Michael GFriend
Messages: 6
Registered: November 2014
Junior Member
BTW. Is there a problem using version of Eclipse included with the Android Development Kit, in creating Java projects? I'm using the Eclipse IDE to learn Java with. I have had a couple of issues since I created another workspace for my Java projects.
Re: Eclipse will not work [message #1482227 is a reply to message #1482220] Fri, 21 November 2014 15:55 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Some clarifications on what you've observed, Mike
1 - Running Eclipse without modifying the eclipse.ini is going to launch Eclipse with whatever JVM is found on your system path. That can change dramatically as your system is updated, which is why it's strongly recommended to specify your desired JVM via eclipse.ini

2 - A new installation of Eclipse can be pointed to an existing workspace, so you would not need to re-import projects or workspace preferences/settings/layout.

3 - It is indeed a PITA that Oracle doesn't make it obvious which JVM you're downloading; the problem is exacerbated by the fact that many 64-bit OS users are using 32-bit browsers, which is how Oracle seems to determine which JVM you want. So if you're running Chrome on Windows 64, Oracle is going to present you with 32-bit JVM/JDK since Chrome isn't 64-bit.


[Updated on: Fri, 21 November 2014 15:56]

Report message to a moderator

Re: Eclipse will not work [message #1482233 is a reply to message #1482226] Fri, 21 November 2014 15:59 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Michael G wrote on Fri, 21 November 2014 15:52
BTW. Is there a problem using version of Eclipse included with the Android Development Kit, in creating Java projects? I'm using the Eclipse IDE to learn Java with. I have had a couple of issues since I created another workspace for my Java projects.


No, not really. I'm not sure what version of Eclipse the ADT bundle is currently built from (so you might not be using the latest and greatest Eclipse), but in the past it has tended to stay pretty current. The only other "drawback" I can think of is that you'll have the Android stuff visible in your environment even when you're not doing Android development; a few years ago when I was doing Android development the ADT plugins started automatically (a somewhat no-no in the Eclipse world) which slowed down Eclipse startup and annoyed me, so I stopped using ADT as my primary Java IDE when I wasn't doing Android apps.
Re: Eclipse will not work [message #1482262 is a reply to message #1482233] Fri, 21 November 2014 16:28 Go to previous messageGo to next message
Michael G is currently offline Michael GFriend
Messages: 6
Registered: November 2014
Junior Member
Thanks for both clarifications, Eric. I noticed that the JRE for Java 8, doesn't have a javaw.exe file in the bin folder. Instead it has a .dll file, which is msvcr100.dll. Is that what I'd point my eclipse.ini file too?

According to my ADT version of Eclipse, it is version 4.2.1 v20130118......... Build ID M20130204-1200. I believe it is "Juno". I noticed the ADT zip file hasn't changed since last year when I first downloaded it.

I'm thinking of using a more recent version of Eclipse to learn Java programming with.

-Mike
Re: Eclipse will not work [message #1482340 is a reply to message #1482262] Fri, 21 November 2014 17:56 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
My copy of JDK 8u25 has java.exe and javaw.exe. Alternatively you can point to jvm.dll, but those are the only ways to specify the JVM in eclipse.ini, no other DLL works to launch the JVM.


[Updated on: Fri, 21 November 2014 17:57]

Report message to a moderator

Re: Eclipse will not work [message #1482507 is a reply to message #1482340] Fri, 21 November 2014 21:16 Go to previous messageGo to next message
Hayley Bridges is currently offline Hayley BridgesFriend
Messages: 2
Registered: November 2014
Junior Member
I downloaded the Windows 64bit version and made the amendments from the sticky post and I now have JVM terminated exit code=2. I am working from my downloads folder as access is denied when trying to save the .ini on the C: program files. Any ideas?
Re: Eclipse will not work [message #1483368 is a reply to message #1481945] Sat, 22 November 2014 14:58 Go to previous messageGo to next message
William LaMorie is currently offline William LaMorieFriend
Messages: 2
Registered: November 2014
Junior Member
*facepalm*

Thanks!
Re: Eclipse will not work [message #1483425 is a reply to message #1483368] Sat, 22 November 2014 16:09 Go to previous messageGo to next message
Michael G is currently offline Michael GFriend
Messages: 6
Registered: November 2014
Junior Member
Oh, you're right Eric.

I was looking in the "Program Files (x86)" folder, which was my previous Java path. I swear, this 32-bit vs. 64-bit option is going to drive me crazy.

From my Windows Start icon, I choose "All Programs" then click on "Java" then click on "Configure Java". Then I click on the "Java" tab, then click the "View" button, and I get the "Java Runtime Environment Settings" dialog box. That's how I figure out what my Java path is.

Thanks, I'll try adding the -vm command, with this path, to eclipse.ini.
Re: Eclipse will not work [message #1483571 is a reply to message #1482507] Sat, 22 November 2014 19:01 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

On 11/21/2014 4:51 PM, Hayley Bridges wrote:
> I downloaded the Windows 64bit version and made the amendments from the
> sticky post and I now have JVM terminated exit code=2. I am working from
> my downloads folder as access is denied when trying to save the .ini on
> the C: program files. Any ideas?


If you have a different version of Java listed in the system PATH
environment variable, remove it from there. Also, if you have any of
these environment variables defined, try removing them:

JAVA_HOME
_JAVA_OPTIONS
JAVA_TOOL_OPTIONS


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Unable to locate executable for jre1.8.0_25 [message #1518222 is a reply to message #1468040] Sat, 20 December 2014 00:52 Go to previous messageGo to next message
Doyle Fouquet is currently offline Doyle FouquetFriend
Messages: 1
Registered: December 2014
Junior Member
That's great. This is my first time on here. I know nothing about Sticky notes or where to find them. How about an answer to the question, how do I get around the problem of "Unable to locate executable for jre1.8.0_25"?
Re: Unable to locate executable for jre1.8.0_25 [message #1518993 is a reply to message #1518222] Sat, 20 December 2014 11:23 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Probably needs its own thread--it's a different message altogether.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Unable to locate executable for jre1.8.0_25 [message #1522741 is a reply to message #1518222] Mon, 22 December 2014 14:04 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Doyle Fouquet wrote on Sat, 20 December 2014 00:52
That's great. This is my first time on here. I know nothing about Sticky notes or where to find them. How about an answer to the question, how do I get around the problem of "Unable to locate executable for jre1.8.0_25"?


At the top of the Newcomers group, there are a handful of Announcement posts; they're highlighted with red text. One of the them is titled "Eclipse won't start? READ THIS FIRST"
icon14.gif  Re: Eclipse will not work [message #1691845 is a reply to message #1461894] Fri, 10 April 2015 06:49 Go to previous messageGo to next message
Arunchunai vendan Pugazhendi is currently offline Arunchunai vendan PugazhendiFriend
Messages: 1
Registered: April 2015
Junior Member
You may check your machines bit size by seeing the computer properties. But still if you open the C:\WINDOWS\SYSTEM** , it will show you the right bit size. So while downloading the JAVA package, select 32 bit instead of 64.
And make sure JDK is installed in the machine (Eclipse cant run).
Your chrome will automatically detect the bit size but still choose 32 bit download. Happy coding!!!

Arunchunaivendan Pugazhendi
Re: Eclipse will not work [message #1692018 is a reply to message #1461894] Sun, 12 April 2015 08:40 Go to previous messageGo to next message
santosh Kumar Kar is currently offline santosh Kumar KarFriend
Messages: 1
Registered: April 2015
Junior Member
Uninstall java 8 updates... that's all, it will start working again.
Re: Eclipse will not work [message #1707526 is a reply to message #1692018] Sun, 06 September 2015 20:31 Go to previous messageGo to next message
piumi katu is currently offline piumi katuFriend
Messages: 1
Registered: September 2015
Junior Member
I'm also got that problem.my laptop was 64bit, windows 8.1. For solution I install java8 both 64bit and 32bit versions and then eclipse run without any problem Smile
Re: Unable to locate executable for jre1.8.0_25 [message #1725125 is a reply to message #1518222] Tue, 01 March 2016 03:20 Go to previous message
Duc Quoc is currently offline Duc QuocFriend
Messages: 4
Registered: January 2016
Junior Member
The sticky Post about Eclipse issue JVM:

https://www.eclipse.org/forums/index.php/t/198527/

Doyle Fouquet wrote on Sat, 20 December 2014 00:52
That's great. This is my first time on here. I know nothing about Sticky notes or where to find them. How about an answer to the question, how do I get around the problem of "Unable to locate executable for jre1.8.0_25"?


Hope this helps,
Previous Topic:"For" loop not working
Next Topic:Eclipse as an Enterprise solution?
Goto Forum:
  


Current Time: Fri Apr 19 20:41:32 GMT 2024

Powered by FUDForum. Page generated in 0.10628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top