Javabeginning
Setup
Java Installation for Linux
For Debian based systems using apt package manager
sudo apt install default-jdk-headless
For rpm based Linux download rpm package and run
sudo rpm -i {jdk-11_package_name}.rpm
or Manual Install with .tar file
Java Installation for windows
Download and run jdk-11.exe for GUI installation or zip for Manual Installation
Java Installation for MacOS
Download and run jdk-11.dmg for Graphical Installation or .tar file for Manual Installation
Output of java –version
openjdk 11.0.7 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10)
OpenJDK 64-Bit Server VM (build 11.0.7+10, mixed mode, sharing)
Output of javac –version
http://www.cas.mcmaster.ca/~lis3/javatutorial/Classpath.htm
for compiling through terminal
Then Download your Favourite Editor
I used Eclipse for this
For the Last step Clone this repository and add The Javabeginning in your Workspace Folder
It’s named eclipse-workspace for Linux and workspace for Windows
Open Eclipse File->Open Projects from File System->Directory->eclipse-workspace->OopsLabWithJava