Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't get eclipse to run(I cannot get eclipse to point at a JDK that it will use.)
icon8.gif  Can't get eclipse to run [message #1075754] Tue, 30 July 2013 01:56 Go to next message
Byron Kruger is currently offline Byron KrugerFriend
Messages: 2
Registered: July 2013
Location: Lafayette, IN
Junior Member

I have been trying for a while to get eclipse set up for android development, I am a novice programmer all together, so I'm at something of a disadvantage from the start.

Running Eclipse resulted every time in this error:

index.php/fa/15755/0/

I finally found the instructions about editing the eclipse.ini file to point at a particular JDK (Yes, I have downloaded and installed the JDK with netbeans, netbeans by the way works great right out of the box).

I added these lines at the point instructed:

-vm
C:\Program Files (x86)\Java\jre7\bin\javaw.exe

I found three different "javaw.exe" on my computer
"C:\Program Files (x86)\Java\jdk1.7.0_07\bin\javaw.exe"
"C:\Program Files (x86)\Java\jdk1.7.0_07\jre\bin\javaw.exe"
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe"

the first one gave me the same error as above with this new path. The second and third both look like they are going to work and then produce this exit code 13 error

index.php/fa/15756/0/

So, I'm at a complete loss. How do I point eclipse at an appropriate JDK so that it will run?


Re: Can't get eclipse to run [message #1075808 is a reply to message #1075754] Tue, 30 July 2013 05:35 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Error 13 usually means a 32/64-bit mismatch; in your case, a 64-bit Eclipse JavaEE package download that can not use the 32-bit Java installations. Try the 32-bit download instead.

Also, don't tell Eclipse to use the executables under the jre subdirectory of a JDK install, use the ones in the main bin directory--like "C:\Program Files (x86)\Java\jdk1.7.0_07\bin\javaw.exe".


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Can't get eclipse to run [message #1076241 is a reply to message #1075808] Wed, 31 July 2013 02:25 Go to previous message
Byron Kruger is currently offline Byron KrugerFriend
Messages: 2
Registered: July 2013
Location: Lafayette, IN
Junior Member

Thanks for your help. I downloaded a 64 bit JDK, pointed eclipse at it and it ran. Problem solved

Thank you.

[Updated on: Wed, 31 July 2013 02:25]

Report message to a moderator

Previous Topic:Related to eclipse Icon View
Next Topic:Not Able to Run C program
Goto Forum:
  


Current Time: Fri Apr 19 20:09:04 GMT 2024

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

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

Back to the top