<?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>Kedar's Tech Blog &#187; Java</title>
	<atom:link href="http://blog.softricks.com/category/java/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.softricks.com</link>
	<description>Technology! Can't get enough of it!!</description>
	<lastBuildDate>Mon, 09 Aug 2010 03:32:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Eclipse, Maven and JRE..</title>
		<link>http://blog.softricks.com/eclipse-maven-and-jre</link>
		<comments>http://blog.softricks.com/eclipse-maven-and-jre#comments</comments>
		<pubDate>Thu, 20 May 2010 03:30:03 +0000</pubDate>
		<dc:creator>Kedar</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.softricks.com/?p=84</guid>
		<description><![CDATA[I had a strange error with Eclipse today when I tried to integrate with Maven. Everytime I started Eclipse I got the error as it was building the workspace: The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK. Please make [...]]]></description>
			<content:encoded><![CDATA[<p>I had a strange error with Eclipse today when I tried to integrate with Maven. Everytime I started Eclipse I got the error as it was building the workspace:</p>
<pre class="brush: plain">The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK.
Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that Installed JREs are also using JDK installs.</pre>
<p>Now this was a bit surprising because I had chosen a JDK as my default JRE in my Eclipse Preferences. After Googling I found that people talked about editing eclipse.ini and adding -vm option or specifying this option on the Eclipse command line. It still did not work for me.</p>
<p>First let&#8217;s see what environment I had. I have a 64-bit Windows 7 laptop. I had installed the 64-bit JDK (installed in C:\Program Files). The latest Eclipse that I had downloaded did not have a 64-bit Windows version.</p>
<p>When I tried using this 64-bit JDK in the -vm command line option (or eclipse.ini),</p>
<pre class="brush: plain">-vm "C:\Program Files\Java\jdk1.6.0_17\bin"</pre>
<p>it crashed or just defaulted back to the JRE it originally had which was:</p>
<pre class="brush: plain">C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll</pre>
<p>So I downloaded and installed a 32-bit JDK. Now my -vm option in Eclipse command line (or in eclipse.ini) was</p>
<pre class="brush: plain">-vm "C:\Program Files (x86)\Java\jdk1.6.0_20\bin"</pre>
<p>This fixed it!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.softricks.com/eclipse-maven-and-jre/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

