|
Re: Eclipse will not work [message #1461981 is a reply to message #1461894] |
Wed, 05 November 2014 04:42 |
|
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 #1481579 is a reply to message #1480825] |
Fri, 21 November 2014 04:31 |
Michael G 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 #1481849 is a reply to message #1481585] |
Fri, 21 November 2014 09:16 |
|
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 |
|
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 #1482220 is a reply to message #1482204] |
Fri, 21 November 2014 15:49 |
Michael G 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 #1482227 is a reply to message #1482220] |
Fri, 21 November 2014 15:55 |
Eric Rizzo 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 #1483425 is a reply to message #1483368] |
Sat, 22 November 2014 16:09 |
Michael G 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 |
|
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
|
|
|
|
|
|
|
|
|
|