Installing Eclipse on Windows Vista
July 27th, 2009
6 comments
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
- Download
eclipse-SDK-3.5-win32.zip - Extract the zip file into a temporary directory. I used
C:\Users\<usename>\Documents\tmp\eclipse - Within the temporary directory (important!) edit
eclipse.ini, adding the line-configuration @user.home\.eclipse_35_config
My
eclipse.inithen 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
- Within the temporary directory create a UTF-8 text file called
eclipse.exe.manifestfile side-by-side with theeclipse.exefile 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> - Using drag and drop copy in Explorer, copy the entire
eclipsedirectory from your temporary location toC:\Program Files (x86)\eclipse. We copy, rather than move simply so you can easily return to this step. - Right-click on
eclipse.exein Explorer and choose Properties - Click on the Security tab
- Click Advanced in the lower right
- In the Advanced Security Settings window that pops up, click on the
Owner tab - Click Edit
- Click Continue if you get a UAC dialog
- Click Other users or groups
- Click Advanced in the lower left corner
- Click Find Now
- Scroll through the results and click on your current user account
- Click OK to all of the remaining windows
- Right-click the file and select Properties (again)
- Click on the Security tab
- Click Edit…
- Click on the Users group
- Adjust the permissions for your user using the check boxes at the bottom of the dialog. e.g. enable Full Control
- Click OK to all of the remaining windows
- Right-click the file and select Properties (again!)
- Click Unblock and close the dialog
- Double click eclipse.exe to run it. You should not get an Open File – Security Warning dialog.
- Remove the temporary
eclipsedirectory 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:

Recent Comments