<?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>hotswap &#8211; CodePills.com</title>
	<atom:link href="https://codepills.com/tag/hotswap/feed/" rel="self" type="application/rss+xml" />
	<link>https://codepills.com</link>
	<description>Helping you make a better code</description>
	<lastBuildDate>Fri, 17 Jun 2022 22:07:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to set a hot-swap on your Java project in IntelliJ Idea</title>
		<link>https://codepills.com/how-to-set-a-hot-swap-on-your-java-project-in-intellij-idea/</link>
					<comments>https://codepills.com/how-to-set-a-hot-swap-on-your-java-project-in-intellij-idea/#respond</comments>
		
		<dc:creator><![CDATA[Andrej Buday]]></dc:creator>
		<pubDate>Wed, 19 Aug 2020 11:44:36 +0000</pubDate>
				<category><![CDATA[IDE]]></category>
		<category><![CDATA[hotswap]]></category>
		<category><![CDATA[IntelliJ]]></category>
		<category><![CDATA[Open JDK]]></category>
		<category><![CDATA[Spring Boot]]></category>
		<category><![CDATA[Trava Open JDK]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">https://codepills.com/?p=1068</guid>

					<description><![CDATA[In this article, we will look at how to hot-swap changes <a href="https://codepills.com/how-to-set-a-hot-swap-on-your-java-project-in-intellij-idea/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Let&#8217;s take a look at how to speed up the development of our Spring Boot app by installing Trava Open JDK and use of hot-swapping.</p>
<p><span id="more-1068"></span></p>
<h2>How to set hot swap with Trava Open JDK in your IntelliJ Idea</h2>
<ol>
<li>Install to your computer Trava Open JDK. You can find installation binaries at <a href="https://github.com/TravaOpenJDK/trava-jdk-11-dcevm" title="Download Trava Open JDK" rel="nofollow">Trava Open JDK on GitHub</a>. If you are Windows user, I would give you a tip to just download Windows binaries and unpack them to folder where you have the rest of JDKs. Exp. <i>C:/Program files/Java/</i> .</li>
<li>In IntelliJ Idea go to <i>Project Structure</i> and under <i>Platform Settings</i> add to <i>SDKs</i> Trava Open JDK. Also under <i>Project Settings</i> in <i>Project SDK</i> select Trave Open JDK as JDK for your project.</li>
<li>And as last step change in IntelliJ Spring Boot runner configuration <i>Running Application Update Policies</i>. Change <i>On &#8216;Update&#8217; action</i> and set it to <i>Update classes and resources</i> and <i>On frame deactivation</i> set the same to  <i>Update classes and resources</i>. You can check image below for more details.</li>
</ol>
<p><img fetchpriority="high" decoding="async" src="https://codepills.com/wp-content/uploads/2020/08/intellij_runner_with_hotswapping-886x1024.png" alt="IntelliJ runne with hot swapping" width="640" height="740" class="alignnone size-large wp-image-1069" srcset="https://codepills.com/wp-content/uploads/2020/08/intellij_runner_with_hotswapping-886x1024.png 886w, https://codepills.com/wp-content/uploads/2020/08/intellij_runner_with_hotswapping-260x300.png 260w, https://codepills.com/wp-content/uploads/2020/08/intellij_runner_with_hotswapping-768x887.png 768w, https://codepills.com/wp-content/uploads/2020/08/intellij_runner_with_hotswapping.png 900w" sizes="(max-width: 640px) 100vw, 640px" /></p>
<p>And that is all. You can start your app now, and your code will be hot-swapped on frame deactivation. Or you can command hot-swap manually with <code>ctrl + shift + f9</code>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codepills.com/how-to-set-a-hot-swap-on-your-java-project-in-intellij-idea/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
