Eclipse.exe will not start after editing eclipse.ini [message #549071] |
Sat, 24 July 2010 00:45 |
Missing name Missing name Messages: 4 Registered: July 2010 |
Junior Member |
|
|
Hello all! I would just like to start by saying that I am very new to Eclipse. What I want is the Eclipse for PHP Developers. Here is as much information as I can think of (without being overwhelming). If you need more, Please ask me. I really want to solve this. Thanks!
I am running Windows Vista Home Premium 64bit. This is on HP pavillion m9458f.
I began by downloading the eclipse-php-helios-win32-x86_64.zip for Windows 64bit and saving it to my desktop ( http://www.eclipse.org/downloads/download.php?file=/technolo gy/epp/downloads/release/helios/R/eclipse-php-helios-win32-x 86_64.zip&url=http://mirror.csclub.uwaterloo.ca/eclipse/ technology/epp/downloads/release/helios/R/eclipse-php-helios -win32-x86_64.zip&mirror_id=492). I then extracted it by right-clicking and choosing "Extract all..." to C:\Program Files. It automatically created the eclipse folder in that directory.
After getting the error "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations...", I discovered that I have to modify my eclipse.ini file to include the following lines (http://wiki.eclipse.org/Eclipse.ini).
-vm
C:\Program Files (x86)\Java\jre6\bin\javaw.exe
Here is what eclipse.ini now looks like:
Quote: | plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
-product
org.eclipse.epp.package.php.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:\Program Files (x86)\Java\jre6\bin\javaw.exe
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m
|
The javaw.exe file version is 6.0.200.2 I have also tried linking it to the 6.0.10.7 version included in C:\Program Files (x86)\Java\jre1.6.0_01\bin
The problem: eclipse will not start. There are no error messages since I edited eclipse.ini. If I can provide any more information or if I have forgotten something, please let me know. Thank you!
P.S. I have checked out this page: http://wiki.eclipse.org/FAQ_I_unzipped_Eclipse,_but_it_won't _start._Why%3F and do not think that I have done anything wrong except possible number 2 (bad VM). I don't know if I am using a 32 or 64 bit version of JVM. How can I tell? Thanks!
[Updated on: Sat, 24 July 2010 01:11] Report message to a moderator
|
|
|
|
Re: Eclipse.exe will not start after editing eclipse.ini [message #549123 is a reply to message #549071] |
Sat, 24 July 2010 21:48 |
|
On 2010.07.23 18:45, listedegarde@gmail.com wrote:
> Hello all! I would just like to start by saying that I am very new to
> Eclipse. What I want is the Eclipse for PHP Developers. Here is as much
> information as I can think of (without being overwhelming). If you need
> more, Please ask me. I really want to solve this. Thanks!
>
> I am running Windows Vista Home Premium 64bit. This is on HP pavillion
> m9458f.
>
> [snip]
>> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
>> -product
>> org.eclipse.epp.package.php.product
>> --launcher.defaultAction
>> openFile
>> --launcher.XXMaxPermSize
>> 256M
>> -showsplash
>> org.eclipse.platform
>> --launcher.XXMaxPermSize
>> 256m
>> -vm
>> C:\Program Files (x86)\Java\jre6\bin\javaw.exe
>> --launcher.defaultAction
>> openFile
>> -vmargs
>> -Dosgi.requiredJavaVersion=1.5
>> -Xms40m
>> -Xmx384m
>
>
> [snip]
Note that you must either use Eclipse 32 bit and a 32-bit JDK, or
Eclipse 64=bit and a 64-bit JDK. You can't mix the two worlds. By the
way, a 32-bit set works fine on a 64-bit Windows or Linux. I have so far
resisted moving to using 64-bit (too lazy).
|
|
|
|
|
Re: Eclipse.exe will not start after editing eclipse.ini [message #549452 is a reply to message #549445] |
Mon, 26 July 2010 16:46 |
|
On 7/26/2010 10:10 AM, Liste wrote:
> All right, all seems to work! Thank you again!
>
> Now all I have to do is figure out how it works. I thought that I was
> going to be able to see my PHP web page somewhere like in a browser, but
> haven't found out how to yet.
Try the PHP (PDT) forum for Eclipse and find a simple tutorial
somewhere. An hour or so of that will probably finish leveling your
obstacles.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03506 seconds