Spring Boot – Hello world program.
You will need IDE (IntelliJ / Eclipse). I used - Eclipse IDE for Java Developers. Version: Oxygen.3a Release (4.7.3a) My JDK is - C:\Users\JANI PLASTIC>java -version java version "1.8.0_301" Java(TM) SE Runtime Environment (build 1.8.0_301-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

Choose options as shown, GENERATE without clicking on ADD DEPENDENCIES.

Clicking on GENERATE downloads zip file named after your “Artifact”.

OPEN (not import) as project through “File System” in IDE such as IntelliJ or Eclipse



Modify <YourProjectName>Application.java . Add following line in main() method.

System.out.println("Hello World! \n Welcome to Empty Zero Dependency Spring Boot Sample Application which does nothing!");
Run this JAVA file as Application to see output as below.
. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.5.4) 2021-09-08 21:50:13.038 INFO 5584 --- [ main] i.j.ZeroDepDemo.ZeroDepDemoApplication : Starting ZeroDepDemoApplication using Java 1.8.0_301 on JANISOFTWARES with PID 5584 (E:\root_d\Companies\Jani Softwares - Private Firm\Assignments\spring_boot\ZeroDepDemo\target\classes started by JANI PLASTIC in E:\root_d\Companies\Jani Softwares - Private Firm\Assignments\spring_boot\ZeroDepDemo) 2021-09-08 21:50:13.041 INFO 5584 --- [ main] i.j.ZeroDepDemo.ZeroDepDemoApplication : No active profile set, falling back to default profiles: default 2021-09-08 21:50:13.897 INFO 5584 --- [ main] i.j.ZeroDepDemo.ZeroDepDemoApplication : Started ZeroDepDemoApplication in 1.449 seconds (JVM running for 2.076) Hello World! Welcome to Empty Zero Dependency Spring Boot Sample Application which does nothing!
CONGRATULATIONS! You just successfully built and ran your first Spring Boot Application.