DEV Community

Cover image for πŸš€Day 1 of My Automation Journey – Understanding How Java Talks to the Machine
bala d kaveri
bala d kaveri

Posted on • Edited on

πŸš€Day 1 of My Automation Journey – Understanding How Java Talks to the Machine

Today marks the beginning of my journey to becoming a Master in Test Automation using Selenium and Playwright.

I’ve just started my Java + Selenium + JavaScript + Playwright class, and here’s what I learned on Day 1.

πŸ’» First Question: What is Java?

Java is a programming language that helps us communicate with computers.
But here’s the interesting part πŸ‘‡
Humans write code in English-like words
Computers understand only 0s and 1s (Binary Language)
So how does Java convert our readable code into something the machine understands?
That’s where Java’s translation system comes in.

πŸ” The Two-Level Translation Process in Java

To convert a .java file into machine language, Java uses multiple components:

JDK – Java Development Kit
JRE – Java Runtime Environment
JVM – Java Virtual Machine
JIT – Just-In-Time Compiler

JDK
└── JRE
└── JVM
└── JIT

Let’s break it down.

🧰 What is JDK?

JDK (Java Development Kit) is used to develop and compile Java programs.

What does it do?

1️⃣ It checks the syntax errors in the .java file
2️⃣ It converts the .java file into a .class file (Bytecode)

Example:

FirstInJava.java β†’ FirstInJava.class

Just like:
Word files β†’ .docx
Excel files β†’ .xlsx
Java files β†’ .java
After compilation, the .class file is created.

πŸ–₯️ Installing Java (My Setup)

Since I am using Windows 11 – 64-bit, I installed Java based on my OS version.

After installation, we can verify it using Command Prompt:

java --version
Enter fullscreen mode Exit fullscreen mode

Example output:

java 21.0.9 2025-10-21 LTS
Java(TM) SE Runtime Environment (build 21.0.9+7-LTS-338)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.9+7-LTS-338, mixed mode, sharing)
Enter fullscreen mode Exit fullscreen mode

If you see this output, it means:

βœ… Java is installed
βœ… JDK is installed

πŸ›  Tools Required for Learning Java Selenium
To start learning Selenium, we need only:

Eclipse IDE
Postman
Notepad++

That’s it!Simple tools, powerful learning.

🎯 My Goal
This is just Day 1.
My ultimate goal is to become a:
πŸ’Ž Master in Automation Testing using Selenium and Playwright
I know this journey will require:

Strong Java fundamentals
Deep understanding of Selenium
JavaScript knowledge
Playwright automation skills
Real-time project practice

But every expert was once a beginner. And today, I’ve taken my first step.

πŸ”₯ What’s Next?
In the coming days, I’ll be sharing:

Java basics
OOPS concepts
Selenium setup
Writing my first automation script
Playwright learning journey

This is the beginning of my Automation Mastery Roadmap.
Stay tuned πŸš€

πŸ€– A Small Note
I used ChatGPT to help structure and refine this blog while ensuring the concepts remain aligned with my trainer’s explanations.

Top comments (0)