Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
36 views

How To Check If Java Was Already Installed in Your Computer/laptop

The document provides instructions for using Eclipse and Codiva.IO to write and run Java programs. It explains how to download and install Java, Eclipse, and create a new project and class in Eclipse to write a sample Java program to calculate area of a rectangle. It also describes how to create an account, project and Java program using the online Java compiler Codiva.IO.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

How To Check If Java Was Already Installed in Your Computer/laptop

The document provides instructions for using Eclipse and Codiva.IO to write and run Java programs. It explains how to download and install Java, Eclipse, and create a new project and class in Eclipse to write a sample Java program to calculate area of a rectangle. It also describes how to create an account, project and Java program using the online Java compiler Codiva.IO.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Java Programming Guide

A. Using Eclipse

Download Java Setup Installer

1. Download and install Java Setup Installer if java was not installed in your
computer/laptop. Otherwise DO NOT download and install Java Setup Installer
anymore.

How to check if java was already installed in your computer/laptop.

Click Drive C ->Program Files (x86) -> Java - >jre1.8.0_251 or other version
Use this link to download Java Setup Installer if java was not yet installed in your
computer/laptop.

https://drive.google.com/file/d/1uB61ql1D0OOTEjv10g1zCdHO-9jHjLY6/view?usp=sharing

Download Eclipse

a. Download Eclipse, copy the download zip file to your folder then extract.
https://drive.google.com/file/d/1TbvqcZysjYsGDzXGKYQNoYyviV6qjBVR/view?
usp=sharing

Java programming Using Eclipse

1. Open the folder that contains the extracted eclipse, double click the folder eclipse and
double click the eclipse icon.
Eclipse is LOADING …….

Eclipse is asking your workspace or folder where


all your programs will be stored. Click Broewse to
specify your folder.

Eclipse Welcome Page. Click the X to close the welcome page.


Eclipse IDE
To Create a Java Program.

1. Create first a new project.


Click File -> New – Java Project. Enter your Project Name. e.g. JavaPrograms. Click Finish
2. Expand JavaPrograms by click the right arrow key before the the project name JavaPrograms.

Right click scr folders->New->Class. Enter your program name e.g AreaRectangle and don’t
forget to click the check box public static void main(String[] args). Click Finish.
Java default program structure using Eclipse

You can now enter/type your java program inside the main method. Using our example in the reading
material.

Run the program. Click the right arrow icon on the menu bar.
The program output

3. Sdfsdf
4.

B. Using Codiva.IO [Online Java Compiler]

JAVA ONLINE COMPILER


Using Codiva.io

Create an account

Sign in
Create a Project

Type a project and click create.

Create a java program on your project


Type your program name. e.g AreaReactangle

You might also like