[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"academy-blogs-en-1-1-all-the-origin-of-java-history-and-jvm-all--*":3,"academy-blog-translations-myldcan7wyijo4o":74},{"data":4,"page":73,"perPage":73,"totalItems":73,"totalPages":73},[5],{"alt":6,"collectionId":7,"collectionName":8,"content":9,"cover_image":10,"cover_image_path":11,"created":12,"created_by":13,"expand":14,"id":68,"keywords":69,"locale":44,"published_at":70,"scheduled_at":13,"school_blog":64,"short_description":71,"status":62,"title":6,"updated":72,"updated_by":13,"slug":65,"views":67},"The Origin of Java: Revolutionizing the World with \"Write Once, Run Anywhere\"","sclblg987654321","school_blog_translations","\u003Cp>If C is the sturdy foundation of computing and JavaScript is the vibrant paint of the web,&nbsp;\u003Cstrong>Java\u003C\u002Fstrong> is the \"heavy machinery\" powering the backends of global banks, massive enterprises, and millions of Android applications. But before it became an industrial giant, Java was a secret project that almost faced cancellation because it was \"ahead of its time.\"\u003C\u002Fp>\u003Cp>Today,&nbsp;\u003Cstrong>Superdev Academy\u003C\u002Fstrong> takes you on a deep dive into the journey of a small group of engineers who set out to make refrigerators smart but ended up creating a language that changed the computing landscape forever.\u003C\u002Fp>\u003Ch2>\u003Cstrong>1. The Stealth Project: When Engineers Wanted to Change \"Appliances\"\u003C\u002Fstrong>\u003C\u002Fh2>\u003Cp>Back in 1991, at Sun Microsystems, legendary engineers&nbsp;\u003Cstrong>James Gosling, Mike Sheridan,\u003C\u002Fstrong> and&nbsp;\u003Cstrong>Patrick Naughton\u003C\u002Fstrong> formed a secret group called the&nbsp;\u003Cstrong>\"Green Team.\"\u003C\u002Fstrong> Their mission was a stealth project aimed not at desktop computers, but at \"consumer electronics\"—devices like smart set-top boxes and an early touch-screen tablet called the *\u003Cstrong>7 (Star Seven)\u003C\u002Fstrong>.\u003C\u002Fp>\u003Cp>The Challenge:\u003C\u002Fp>\u003Cp>In those days, the dominant language was C++. However, it presented two major problems for small, portable devices:\u003C\u002Fp>\u003Col style=\"margin-bottom:0;margin-top:0;padding-inline-start:48px;\">\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:decimal;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Cstrong>Memory Management:\u003C\u002Fstrong> C++ forced programmers to manually manage memory. A single mistake could lead to a \"Memory Leak,\" causing an appliance to crash or freeze.\u003C\u002Fli>\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:decimal;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Cstrong>Hardware Diversity:\u003C\u002Fstrong> The chips used in consumer electronics varied wildly. Writing code for every specific chip using C++ was nearly impossible because it required recompiling the code for every hardware change.\u003C\u002Fli>\u003C\u002Fol>\u003Ch2>\u003Cstrong>2. The Birth of Oak &amp; Solving the \"Deadly Pointer\"\u003C\u002Fstrong>\u003C\u002Fh2>\u003Cp>James Gosling initially tried to improve C++, but eventually concluded that it was better to \"burn it down and start fresh.\" He created a new language called&nbsp;\u003Cstrong>\"Oak\"\u003C\u002Fstrong> (named after the oak tree outside his office window).\u003C\u002Fp>\u003Cp>Technical Insight: Revolutionizing Safety and Memory\u003C\u002Fp>\u003Cp>James introduced key features that set Java apart from its contemporaries:\u003C\u002Fp>\u003Cul style=\"margin-bottom:0;margin-top:0;padding-inline-start:48px;\">\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Cstrong>No More Pointers:\u003C\u002Fstrong> Java eliminated direct memory access through pointers—the primary source of bugs in C++. This prevented programmers from accidentally accessing unauthorized memory areas.\u003C\u002Fli>\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Cstrong>Garbage Collection:\u003C\u002Fstrong> Java introduced an automatic \"cleaning crew.\" The language would automatically check for and reclaim unused memory, making programs significantly more stable than those written in rival languages.\u003C\u002Fli>\u003C\u002Ful>\u003Cfigure class=\"image image_resized\" style=\"width:75%;\">\u003Cimg style=\"aspect-ratio:2000\u002F2000;\" src=\"https:\u002F\u002Fimagedelivery.net\u002Fg5Z0xlCQah-oO61sLqaEUA\u002FJames_Gosling_869a7241ef\u002Ftwsme\" alt=\"James Gosling.webp\" width=\"2000\" height=\"2000\">\u003C\u002Ffigure>\u003Ch2>\u003Cstrong>3. From Oak to Java: A Name Born of Necessity\u003C\u002Fstrong>\u003C\u002Fh2>\u003Cp>By 1994, project \"Oak\" was on the verge of cancellation because the smart TV market hadn't matured. Simultaneously, the World Wide Web began to explode. The team realized that the internet was the perfect environment for a portable language like theirs.\u003C\u002Fp>\u003Cp>However, the name&nbsp;\u003Cstrong>Oak\u003C\u002Fstrong> was already trademarked. The team gathered at a local coffee shop to brainstorm. After a long list of candidates like&nbsp;\u003Ci>Silk, DNA, and Lyric\u003C\u002Fi>, they finally settled on&nbsp;\u003Cstrong>Java\u003C\u002Fstrong>—the name of the coffee beans from Indonesia they had been drinking through their late-night coding sessions.\u003C\u002Fp>\u003Ch2>\u003Cstrong>4. The Innovation That Changed the World: Java Virtual Machine (JVM)\u003C\u002Fstrong>\u003C\u002Fh2>\u003Cp>The secret to Java’s success is the concept of&nbsp;\u003Cstrong>\"Write Once, Run Anywhere\" (WORA)\u003C\u002Fstrong>, powered by&nbsp;\u003Cstrong>JVM\u003C\u002Fstrong> technology.\u003C\u002Fp>\u003Cp>Technical Insight: Why Bytecode Matters?\u003C\u002Fp>\u003Cp>In traditional compiled languages, code is translated into \"Machine Code\" that talks directly to a specific CPU (e.g., it runs on Intel but not on ARM).\u003C\u002Fp>\u003Cp>Java, however, compiles code into \"Bytecode\"—an intermediate language that no CPU understands natively. The JVM (Java Virtual Machine) installed on each device acts as a \"Translator,\" converting Bytecode into the appropriate machine code during execution (Runtime).\u003C\u002Fp>\u003Cp>The Result: You write your program once on Windows, and it runs instantly on a smart fridge, a Linux server, or a mobile phone—as long as that device has a JVM.\u003C\u002Fp>\u003Ch2>\u003Cstrong>5. The Golden Era of Enterprise Dominance\u003C\u002Fstrong>\u003C\u002Fh2>\u003Cp>Java made its grand debut in 1995 when the&nbsp;\u003Cstrong>Netscape\u003C\u002Fstrong> browser announced support for&nbsp;\u003Cstrong>Java Applets\u003C\u002Fstrong>, allowing web pages to become interactive for the first time.\u003C\u002Fp>\u003Cp>Later, Java evolved into the server-side powerhouse known as Java Enterprise Edition (J2EE). Its security (Sandbox Model) and robust handling of&nbsp;\u003Cstrong>Multithreading\u003C\u002Fstrong> made it the gold standard for banks and global corporations that needed backend systems to run 24\u002F7 without fail.\u003C\u002Fp>\u003Ch2>\u003Cstrong>6. Java’s Modern Legacy\u003C\u002Fstrong>\u003C\u002Fh2>\u003Cp>Despite being over 30 years old and facing competition from newer languages like Go or Rust, Java remains a titan:\u003C\u002Fp>\u003Cul style=\"margin-bottom:0;margin-top:0;padding-inline-start:48px;\">\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Cstrong>Android:\u003C\u002Fstrong> While Kotlin is now the preferred language, the entire Android SDK is built on Java foundations.\u003C\u002Fli>\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Cstrong>Big Data:\u003C\u002Fstrong> Industry-leading tools like&nbsp;\u003Cstrong>Hadoop\u003C\u002Fstrong> and&nbsp;\u003Cstrong>Apache Spark\u003C\u002Fstrong> are either written in Java or run on the JVM.\u003C\u002Fli>\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Cstrong>Spring Framework:\u003C\u002Fstrong> The de facto standard for building Microservices in the enterprise world.\u003C\u002Fli>\u003C\u002Ful>\u003Chr>\u003Ch2>\u003Cstrong>Summary: Why Study Java?\u003C\u002Fstrong>\u003C\u002Fh2>\u003Cp>Learning Java is not just about learning a syntax; it is about learning&nbsp;\u003Cstrong>\"High-Level Software Architecture.\"\u003C\u002Fstrong> Understanding JVM, Garbage Collection, and strict Object-Oriented Programming (OOP) in Java provides a foundation that makes you a better developer, regardless of which language you use next.\u003C\u002Fp>\u003Ch3>\u003Cstrong>📚 Sources\u003C\u002Fstrong>\u003C\u002Fh3>\u003Cul style=\"margin-bottom:0;margin-top:0;padding-inline-start:48px;\">\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Ci>Gosling, J., Joy, B., Steele, G., &amp; Bracha, G. (2014). \"The Java Language Specification\". Oracle Press.\u003C\u002Fi>\u003C\u002Fli>\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Ci>Sun Microsystems Archive. (1991-1995). \"The Green Project: A History of Java\".\u003C\u002Fi>\u003C\u002Fli>\u003Cli style=\"background-color:transparent;color:#1f1f1f;font-family:Arial,sans-serif;font-size:11pt;font-style:normal;font-variant:normal;font-weight:400;list-style-type:disc;text-decoration:none;vertical-align:baseline;white-space:pre;\" dir=\"ltr\" aria-level=\"1\">\u003Ci>Byous, J. (1998). \"Java Technology: The Early Years\". Sun Microsystems Documents.\u003C\u002Fi>\u003C\u002Fli>\u003C\u002Ful>\u003Cdiv class=\"raw-html-embed\">\u003Cdiv style=\"margin:0 0 6px 0; font-weight:700;\">Read more:\u003C\u002Fdiv>\n\u003Cul style=\"list-style:none; padding:0; margin:0; line-height:1.4;\">\n  \u003Cli style=\"margin:0;\">\u003Ca href=\"\u002Fen\u002Fblogs\u002Fcategories\u002FGolang\" title=\"Golang The Series\">Golang The Series\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli style=\"margin:0;\">\u003Ca href=\"\u002Fen\u002Fblogs\u002Fcategories\u002FJS2GO\" title=\"JS2GO\">JS2GO\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli style=\"margin:0;\">\u003Ca href=\"\u002Fen\u002Fblogs\u002Fcategories\u002FTailwind%20CSS\" title=\"Tailwind CSS\">Tailwind CSS\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\u003C\u002Fdiv>\u003Cdiv class=\"raw-html-embed\">\n  \u003Ch3>Follow Us:\u003C\u002Fh3>\n  \u003Cul style=\"list-style:none; padding:0; margin:0; line-height: 0.4;\">\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#1877F2\" aria-hidden=\"true\">\n        \u003Cpath d=\"M22 12.07C22 6.48 17.52 2 11.93 2S2 6.48 2 12.07c0 5 3.66 9.14 8.44 9.93v-7.02H7.9v-2.91h2.54V9.41c0-2.5 1.49-3.88 3.77-3.88 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56v1.87h2.78l-.44 2.91h-2.34V22c4.78-.79 8.44-4.93 8.44-9.93Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.facebook.com\u002Fsuperdev.academy.th\" target=\"_blank\" rel=\"noopener\" title=\"Follow Superdev Academy on Facebook\">Facebook: Superdev Academy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#FF0000\" aria-hidden=\"true\">\n        \u003Cpath d=\"M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8ZM9.75 15.02V8.98L15.5 12l-5.75 3.02Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.youtube.com\u002F@SuperdevAcademy\" target=\"_blank\" rel=\"noopener\" title=\"Watch on YouTube\">YouTube: Superdev Academy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#E4405F\" aria-hidden=\"true\">\n        \u003Cpath d=\"M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm10 2H7a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm-5 3.5A5.5 5.5 0 1 1 6.5 13 5.5 5.5 0 0 1 12 7.5Zm0 2A3.5 3.5 0 1 0 15.5 13 3.5 3.5 0 0 0 12 9.5Zm5.75-2.75a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.instagram.com\u002Fsuperdevacademy\u002F?hl=en target=\" _blank\"=\"\" rel=\"noopener\" title=\"See behind-the-scenes on Instagram\">Instagram: Superdev Academy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#000000\" aria-hidden=\"true\">\n        \u003Cpath d=\"M21 8.12a6.86 6.86 0 0 1-4.8-2V16a6 6 0 1 1-6-6 5.9 5.9 0 0 1 1.63.23V8.05a9.08 9.08 0 0 1-1.63-.15V4.5a6.86 6.86 0 0 0 4.8 2.05V6.5a6.86 6.86 0 0 0 4.8 1.62ZM9.2 12.5A3.5 3.5 0 1 0 12.7 16V9.94a6 6 0 0 1-1.63-.27v3.95a3.5 3.5 0 0 1-1.87 3.17 3.5 3.5 0 0 1-4.78-3.23 3.5 3.5 0 0 1 4.78-3.06Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.tiktok.com\u002F@superdevacademy\" target=\"_blank\" rel=\"noopener\" title=\"Watch short tips on TikTok\">TikTok: @superdevacademy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#111827\" aria-hidden=\"true\">\n        \u003Cpath d=\"M12 2a10 10 0 1 0 10 10A10.01 10.01 0 0 0 12 2Zm6.93 6h-3.26a15.6 15.6 0 0 0-1.39-3.62A8.03 8.03 0 0 1 18.93 8ZM12 4c.73.93 1.7 2.74 2.2 4H9.8C10.3 6.74 11.27 4.93 12 4ZM8.72 4.38A15.6 15.6 0 0 0 7.32 8H4.07a8.03 8.03 0 0 1 4.65-3.62ZM4.07 16h3.25a15.6 15.6 0 0 0 1.4 3.62A8.03 8.03 0 0 1 4.07 16ZM12 20c-.73-.93-1.7-2.74-2.2-4h4.4C13.7 17.26 12.73 19.07 12 20Zm3.28-.38A15.6 15.6 0 0 0 16.68 16h3.25a8.03 8.03 0 0 1-4.65 3.62ZM20 14h-3.54a13.8 13.8 0 0 1-.26-4H20a7.98 7.98 0 0 1 0 4Zm-12.2 0H4a7.98 7.98 0 0 1 0-4h3.54a13.8 13.8 0 0 1-.26 4Zm2 .5h4.4a17.8 17.8 0 0 1-.72-4.5c0-1.58.25-3.1.72-4.5H9.8a17.8 17.8 0 0 1 .72 4.5c0 1.58-.25 3.1-.72 4.5Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.superdevacademy.com\u002F\" target=\"_blank\" rel=\"noopener\" title=\"Visit the official website of Superdev Academy\">Official Website: Superdev Academy.com\u003C\u002Fa>\n    \u003C\u002Fli>\n  \u003C\u002Ful>\n\u003C\u002Fdiv>","cover_image_for_the_origin_of_java_revolutionizing_the_world_with_write_once_run_anywhere_tqwqta89de.webp","https:\u002F\u002Ftwsme-r2.tumwebsme.com\u002Fsclblg987654321\u002Fz3dfbjv1yczyapx\u002Fcover_image_for_the_origin_of_java_revolutionizing_the_world_with_write_once_run_anywhere_tqwqta89de.webp","2026-03-04 08:20:35.835Z","",{"keywords":15,"locale":38,"school_blog":48},[16,23,28,33],{"collectionId":17,"collectionName":18,"created":19,"created_by":13,"id":20,"name":21,"updated":22,"updated_by":13},"sclkey987654321","school_keywords","2026-03-04 08:20:30.217Z","awi5iynndefiouo","Java History","2026-04-10 16:07:27.003Z",{"collectionId":17,"collectionName":18,"created":24,"created_by":13,"id":25,"name":26,"updated":27,"updated_by":13},"2026-03-04 08:20:32.925Z","a77j8bhv489p2sx","Java","2026-04-10 16:07:27.199Z",{"collectionId":17,"collectionName":18,"created":29,"created_by":13,"id":30,"name":31,"updated":32,"updated_by":13},"2026-03-04 08:20:29.827Z","kaajdy60saamd6y","James Gosling","2026-04-10 16:07:26.907Z",{"collectionId":17,"collectionName":18,"created":34,"created_by":13,"id":35,"name":36,"updated":37,"updated_by":13},"2026-03-04 08:20:25.947Z","trcc0ngsny7a9zh","Bytecode","2026-04-10 16:07:26.683Z",{"code":39,"collectionId":40,"collectionName":41,"created":42,"flag":43,"id":44,"is_default":45,"label":46,"updated":47},"en","pbc_1989393366","locales","2026-01-22 11:00:02.726Z","twemoji:flag-united-states","qv9c1llfov2d88z",false,"English","2026-04-10 15:42:46.825Z",{"category":49,"collectionId":50,"collectionName":51,"created":13,"expand":52,"id":64,"slug":65,"updated":66,"views":67},"102u7miss0ec94h","pbc_2105096300","school_blogs",{"category":53},{"blogIds":54,"collectionId":55,"collectionName":56,"created":57,"created_by":13,"id":49,"image":13,"image_alt":13,"image_path":13,"label":58,"name":59,"priority":60,"publish_at":61,"scheduled_at":13,"status":62,"updated":63,"updated_by":13},[],"sclcatblg987654321","school_category_blogs","2026-03-04 08:19:48.998Z",{"en":59,"th":59},"The Origin of Code",8,"2026-02-18 01:59:52.528Z","published","2026-04-25 02:32:14.183Z","myldcan7wyijo4o","the-origin-of-java-history-and-jvm","2026-05-07 09:14:00.487Z",205,"z3dfbjv1yczyapx",[20,25,30,35],"2026-01-20 02:33:57.979Z","Deep dive into Java's history—from a smart appliance project to dominating the Enterprise and Android worlds. Learn about JVM and the memory management that changed software.","2026-05-11 21:45:18.531Z",1,{"th":65,"en":65}]