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

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
According to our trainer, 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 ๐Ÿš€

๐Ÿ‘จโ€๐Ÿซ Trainer: Nantha from Payilagam

๐Ÿค– 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)