Home > computing, software > Installing Eclipse on Windows Vista

Installing Eclipse on Windows Vista

Erythromycin Online Buy Coumadin Penisole Online Buy Phentrimine Zelnorm Online Buy Elavil Flomax Online Buy Aldactone Avapro Online Buy Zelnorm

Eclipse doesn’t come with an installer for Windows. As a result of this, installing Eclipse into Program Files is very awkward without getting into a tussle with User Account Control, and virtualisation of the Program Files directory.

After far too much effort I have finally found a sequence that Works For Me™ on Windows Vista Ultimate x64.

The procedure

  1. Download eclipse-SDK-3.5-win32.zip
  2. Extract the zip file into a temporary directory. I used C:\Users\<usename>\Documents\tmp\eclipse
  3. Within the temporary directory (important!) edit eclipse.ini, adding the line
    -configuration @user.home\.eclipse_35_config
    

    My eclipse.ini then looked like this:

    -startup
    plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
    -showsplash
    org.eclipse.platform
    -configuration @user.home\.eclipse_35_config
    --launcher.XXMaxPermSize
    256m
    -vmargs
    -Xms40m
    -Xmx256m
    
  4. Within the temporary directory create a UTF-8 text file called eclipse.exe.manifest file side-by-side with the eclipse.exe file with the following content:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
      <assemblyIdentity version="1.0.0.0"
         processorArchitecture="X86"
         name="eclipse"
         type="win32"/>
      <description>Eclipse</description>
      <!-- Identify the application security requirements. -->
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
        <security>
          <requestedPrivileges>
            <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
            </requestedPrivileges>
           </security>
      </trustInfo>
    </assembly>
    
  5. Using drag and drop copy in Explorer, copy the entire eclipse directory from your temporary location to C:\Program Files (x86)\eclipse. We copy, rather than move simply so you can easily return to this step.
  6. Right-click on eclipse.exe in Explorer and choose Properties
  7. Click on the Security tab
  8. Click Advanced in the lower right
  9. In the Advanced Security Settings window that pops up, click on the
    Owner tab
  10. Click Edit
  11. Click Continue if you get a UAC dialog
  12. Click Other users or groups
  13. Click Advanced in the lower left corner
  14. Click Find Now
  15. Scroll through the results and click on your current user account
  16. Click OK to all of the remaining windows
  17. Right-click the file and select Properties (again)
  18. Click on the Security tab
  19. Click Edit…
  20. Click on the Users group
  21. Adjust the permissions for your user using the check boxes at the bottom of the dialog. e.g. enable Full Control
  22. Click OK to all of the remaining windows
  23. Right-click the file and select Properties (again!)
  24. Click Unblock and close the dialog
  25. Double click eclipse.exe to run it. You should not get an Open File – Security Warning dialog.
  26. Remove the temporary eclipse directory you created when you unzipped the archive.

Credit where it is due

The above post is largely pulled together from various sources I located mixed with a good degree of trial and error. I found the following particularly useful:

Categories: computing, software Tags: , ,
  1. mondo
    September 29th, 2009 at 14:15 | #1

    Much simpler solution is to first launch eclipse.exe outside of Program Files and in the Security Warning dialog uncheck the ‘Always ask me about running this file’ option. The system will remember this. Then you can move your eclipse into Program Files and it will start without the annoyance. (Setting that option in PF was useless.)

  2. Robert Smallshire
    September 29th, 2009 at 16:16 | #2

    @mondo Unfortunately, the approach you describe, which is what I usually do when copying executables to Program Files, didn’t work for me with Eclipse, hence the rather involved procedure above. I’ll have the opportunity to install Eclipse again on another Vista machine later this week, so I’ll report back after another attempt following the more simple, although still somewhat obscure, method.

  3. fuffa
    October 29th, 2009 at 16:20 | #3

    @Robert Smallshire

    So…, any results yet?

  4. Robert Smallshire
    October 31st, 2009 at 22:56 | #4

    Yes – I tried again on another Vista machine, and then mondo’s simple procedure above, didn’t work for me. I had to visit this page to follow the full procedure :-(

  5. Greg Fenton
    November 2nd, 2009 at 20:22 | #5
  6. April 13th, 2010 at 15:58 | #6

    But why do you want to do that? It works fine if you just put it in c:\eclipse and there isn’t any hassle.

  1. No trackbacks yet.