<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sufficiently Small &#187; eclipse</title>
	<atom:link href="http://www.smallshire.org.uk/sufficientlysmall/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smallshire.org.uk/sufficientlysmall</link>
	<description>sin(x) = x</description>
	<lastBuildDate>Sun, 01 Jan 2012 23:29:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Installing Eclipse on Windows Vista</title>
		<link>http://www.smallshire.org.uk/sufficientlysmall/2009/07/27/installing-eclipse-on-windows-vista/</link>
		<comments>http://www.smallshire.org.uk/sufficientlysmall/2009/07/27/installing-eclipse-on-windows-vista/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 19:20:30 +0000</pubDate>
		<dc:creator>Robert Smallshire</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.smallshire.org.uk/sufficientlysmall/?p=374</guid>
		<description><![CDATA[Eclipse doesn&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.smallshire.org.uk%2Fsufficientlysmall%2F2009%2F07%2F27%2Finstalling-eclipse-on-windows-vista%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.smallshire.org.uk%2Fsufficientlysmall%2F2009%2F07%2F27%2Finstalling-eclipse-on-windows-vista%2F&amp;source=robsmallshire&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Eclipse doesn&#8217;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.</p>
<p>After far too much effort I have finally found a sequence that Works For Me™ on Windows Vista Ultimate x64.</p>
<h1>The procedure</h1>
<ol>
<li>Download <code>eclipse-SDK-3.5-win32.zip</code></li>
<li>Extract the zip file into a <strong>temporary</strong> directory.  I used <code>C:\Users\&lt;usename&gt;\Documents\tmp\eclipse</code></li>
<li>Within the temporary directory (important!) edit <code>eclipse.ini</code>, adding the line
<pre class="brush: plain; title: ; notranslate">
-configuration @user.home\.eclipse_35_config
</pre>
<p>My <code>eclipse.ini</code> then looked like this:</p>
<pre class="brush: plain; title: ; notranslate">
-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
</pre>
</li>
<li>Within the temporary directory create a UTF-8 text file called <code>eclipse.exe.manifest</code> file side-by-side with the <code>eclipse.exe</code> file with the following content:
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;assembly xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; manifestVersion=&quot;1.0&quot;&gt;
  &lt;assemblyIdentity version=&quot;1.0.0.0&quot;
     processorArchitecture=&quot;X86&quot;
     name=&quot;eclipse&quot;
     type=&quot;win32&quot;/&gt;
  &lt;description&gt;Eclipse&lt;/description&gt;
  &lt;!-- Identify the application security requirements. --&gt;
  &lt;trustInfo xmlns=&quot;urn:schemas-microsoft-com:asm.v2&quot;&gt;
    &lt;security&gt;
      &lt;requestedPrivileges&gt;
        &lt;requestedExecutionLevel level=&quot;asInvoker&quot; uiAccess=&quot;false&quot;/&gt;
        &lt;/requestedPrivileges&gt;
       &lt;/security&gt;
  &lt;/trustInfo&gt;
&lt;/assembly&gt;
</pre>
</li>
<li>Using drag and drop copy in Explorer, copy the entire <code>eclipse</code> directory from your temporary location to <code>C:\Program Files (x86)\eclipse</code>.  We copy, rather than move simply so you can easily return to this step.
</li>
<li>Right-click on <code>eclipse.exe</code> in Explorer and choose Properties</li>
<li>Click on the Security tab</li>
<li>Click Advanced in the lower right</li>
<li>In the Advanced Security Settings window that pops up, click on the<br />
Owner tab</li>
<li>Click Edit</li>
<li>Click Continue if you get a UAC dialog</li>
<li>Click Other users or groups</li>
<li>Click Advanced in the lower left corner</li>
<li>Click Find Now</li>
<li>Scroll through the results and click on your current user account</li>
<li>Click OK to all of the remaining windows</li>
<li>Right-click the file and select Properties (again)</li>
<li>Click on the Security tab</li>
<li>Click Edit&#8230;</li>
<li>Click on the Users group</li>
<li>Adjust the permissions for your user using the check boxes at the bottom of the dialog. e.g. enable Full Control</li>
<li>Click OK to all of the remaining windows</li>
<li>Right-click the file and select Properties (again!)</li>
<li>Click Unblock and close the dialog</li>
<li>Double click eclipse.exe to run it. You <strong>should not</strong> get an Open File &#8211; Security Warning dialog.</li>
<li>Remove the temporary <code>eclipse</code> directory you created when you unzipped the archive.
</li>
</ol>
<h1>Credit where it is due</h1>
<p>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:</p>
<ul>
<li><a href="http://www.vistaheads.com/forums/microsoft-public-windows-vista-general/30843-open-file-security-warning.html">Open File &#8211; Security Warning on VistaHeads</a></li>
<li><a href="http://www.eclipsezone.com/eclipse/forums/t97323.html">How do you run Eclipse 3.3 on Vista?</a></li>
</ul>
<hr/>Copyright &copy; 2012 <strong><a href="http://www.smallshire.org.uk/sufficientlysmall">Sufficiently Small</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@smallshire.org.uk so we can take legal action immediately.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">Plugin</a> by <a href="http://www.taragana.com/">Taragana</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.smallshire.org.uk/sufficientlysmall/2009/07/27/installing-eclipse-on-windows-vista/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

