Chapter 03: Setting Up the Development Environment: Difference between revisions

Created page with "<span id="chapter-03-setting-up-the-development-environment"></span> = Chapter 03: Setting Up the Development Environment = Getting your development environment right from the start will save you countless hours of frustration. In this chapter, we’ll walk through setting up a professional Kotlin and Spring Boot development environment that will serve you well throughout your journey. <span id="installing-java-jdk"></span> == 3.1 Installing Java JDK == Spring Boot 3...."
 
 
(3 intermediate revisions by the same user not shown)
Line 107: Line 107:
export JAVA_HOME=/usr/lib/jvm/temurin-21-jdk-amd64  # Linux
export JAVA_HOME=/usr/lib/jvm/temurin-21-jdk-amd64  # Linux
export PATH=$JAVA_HOME/bin:$PATH</syntaxhighlight>
export PATH=$JAVA_HOME/bin:$PATH</syntaxhighlight>
'''Windows (System Environment Variables):''' 1. Open System Properties → Advanced → Environment Variables 2. Add new System Variable: - Variable name: <code>JAVA_HOME</code> - Variable value: <code>C:\Program Files\Eclipse Adoptium\jdk-21.0.1.12-hotspot</code> 3. Add <code>%JAVA_HOME%\bin</code> to PATH
'''Windows (System Environment Variables):'''  
# Open System Properties → Advanced → Environment Variables  
# Add new System Variable: - Variable name: <code>JAVA_HOME</code> - Variable value: <code>C:\Program Files\Eclipse Adoptium\jdk-21.0.1.12-hotspot</code>  
# Add <code>%JAVA_HOME%\bin</code> to PATH


<span id="installing-intellij-idea"></span>
<span id="installing-intellij-idea"></span>
== 3.2 Installing IntelliJ IDEA ==
== 3.2 Installing IntelliJ IDEA ==


Line 120: Line 124:
* '''Ultimate Edition''': Paid, includes Spring-specific features, database tools, and advanced frameworks support
* '''Ultimate Edition''': Paid, includes Spring-specific features, database tools, and advanced frameworks support


For professional Spring Boot development, we recommend Ultimate Edition for features like: - Spring Boot run configurations - Application properties assistance - Database tools - HTTP client - Advanced debugging tools
For professional Spring Boot development, we recommend Ultimate Edition for features like:  
* Spring Boot run configurations  
* Application properties assistance  
* Database tools  
* HTTP client  
* Advanced debugging tools


<span id="installation-steps"></span>
<span id="installation-steps"></span>
=== Installation Steps ===
=== Installation Steps ===


'''Download and Install:''' 1. Visit https://www.jetbrains.com/idea/download/ 2. Download the appropriate version for your OS 3. Install following the platform-specific instructions
'''Download and Install:'''  
# Visit https://www.jetbrains.com/idea/download/  
# Download the appropriate version for your OS  
# Install following the platform-specific instructions


'''Using JetBrains Toolbox (Recommended):'''
'''Using JetBrains Toolbox (Recommended):'''
Line 138: Line 151:
# - Settings sync</syntaxhighlight>
# - Settings sync</syntaxhighlight>
<span id="initial-configuration"></span>
<span id="initial-configuration"></span>
=== Initial Configuration ===
=== Initial Configuration ===