Java
Title
Question
How java is installed
Why java is used
Types of java
Java Getting-started-java-Installation 01-02 min 20-30 sec
Answers:
DOWNLOD:JAVA DEVELOPMENT KIT(JDK)
EXECUTION:DOWNLODED INSTALLER
EVVIRONMENT VARIABLE:PATH ,JAVA_HOME,
USED:
PLATform independence
object-oriented:it follows oop principle,making codemodular,reusable,easy to maintain
security&robustness:
versatillity:
3.TYPES OF JAVA
java se:
java ee:
java me:
java fx:
1. How Java is installed
The installation process generally involves three main steps:
Download: Visit the official Oracle website or an open-source provider (like Adoptium) to download the Java Development Kit (JDK) version suitable for your operating system (Windows, macOS, or Linux).
Execution: Run the downloaded installer and follow the on-screen instructions.
Environment Variables: On many systems, you need to set the PATH and JAVA_HOME environment variables so that your terminal or command prompt can recognize the java and javac commands from any directory.
2. Why Java is used
Java remains one of the most popular programming languages because of several key features:
Platform Independence: Its "Write Once, Run Anywhere" (WORA) capability means code compiled on one platform can run on any other with a Java Virtual Machine (JVM).
Object-Oriented: It follows OOP principles, making code modular, reusable, and easy to maintain.
Security & Robustness: Java has built-in features like automatic memory management (Garbage Collection) and strong type checking to reduce errors and security risks.
Versatility: It is used everywhere, from Android mobile apps and web servers to large-scale enterprise systems and Big Data processing.
3. Types of Java (Editions)
Java is divided into different editions depending on the target environment:
Java SE (Standard Edition): The core platform used for developing general-purpose desktop and server applications.
Java EE (Enterprise Edition) / Jakarta EE: Built on top of SE, it is used for large-scale, distributed enterprise applications and web services.
Java ME (Micro Edition): A light version designed for mobile devices and embedded systems with limited resources.
JavaFX: A platform for creating rich internet applications with modern user interfaces.
Would you like me to go into more detail on setting environment variables or perhaps explain the difference between the JDK and JRE?

Login to add comment