<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Java From Scratch on Errors</title><link>https://errors.co.za/series/java-from-scratch/</link><description>Recent content in Java From Scratch on Errors</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026</copyright><lastBuildDate>Sun, 08 Feb 2026 19:00:00 +0200</lastBuildDate><atom:link href="https://errors.co.za/series/java-from-scratch/index.xml" rel="self" type="application/rss+xml"/><item><title>Checked vs Unchecked Exceptions in Java — A Deep Dive</title><link>https://errors.co.za/posts/java-exceptions-checked-vs-unchecked/</link><pubDate>Sun, 08 Feb 2026 19:00:00 +0200</pubDate><guid>https://errors.co.za/posts/java-exceptions-checked-vs-unchecked/</guid><description>&lt;p&gt;Every Java developer hits exceptions early. But the difference between checked and unchecked exceptions — and when to use which — trips people up for years. This post goes deep.&lt;/p&gt;

&lt;h2 class="relative group"&gt;The Exception Hierarchy
 &lt;div id="the-exception-hierarchy" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-exception-hierarchy" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Everything starts from &lt;code&gt;Throwable&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Throwable
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;├── Error (unchecked — don&amp;#39;t catch these)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── OutOfMemoryError
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ ├── StackOverflowError
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;│ └── ...
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;└── Exception (checked — must handle or declare)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ├── IOException
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ├── SQLException
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ├── ...
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; └── RuntimeException (unchecked — optional to handle)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ├── NullPointerException
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ├── IllegalArgumentException
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; ├── ArrayIndexOutOfBoundsException
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; └── ...&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The rule is simple:&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://errors.co.za/posts/java-exceptions-checked-vs-unchecked/feature.png"/></item><item><title>Running Java 25 Locally on Windows — The Full Setup</title><link>https://errors.co.za/posts/java-25-setup-windows/</link><pubDate>Sun, 08 Feb 2026 18:00:00 +0200</pubDate><guid>https://errors.co.za/posts/java-25-setup-windows/</guid><description>&lt;p&gt;Java 25 is here, and if you&amp;rsquo;re on Windows you have a few options for getting it running locally. This post walks through the full setup — from downloading the JDK to running your first program in the console.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Option 1: Download the JDK Directly
 &lt;div id="option-1-download-the-jdk-directly" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#option-1-download-the-jdk-directly" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;d recommend sticking with open-source JDK distributions. Here are the main options:&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://errors.co.za/posts/java-25-setup-windows/feature.png"/></item></channel></rss>