Intro to Java and Environment Setup
The course is part of this learning path
In this course, we learn about Java technology and get you started with writing and running a Java program.
- What is the Java programming language?
- Java Development Kit (JDK)
- Java Runtime Environment (JRE)
- Java Virtual Machine (JVM)
- Integrated Development Environment (IDE)
- Installation of Eclipse
- Write a Java program
- compile and run a Java program
- Anyone looking to get Oracle Java Certification
- Those who want to learn the Java Programming language from scratch
- Java developers who want to increase their knowledge
- Beginners with no previous coding experience in Java programming
- Those who want to learn tips and tricks in Oracle Certified Associate – Java SE 8 Programmer certification exams
- No prior knowledge is required about the Java programming language
- Basic computer knowledge
Installing Java SE 8 on Mac. Hi there. In this lesson, we will prepare our Mac to write code in order to develop programs using the Java programming language. For this, we will install the Java Development Kit, JDK. Earlier, we said that the Java language runs on the Java Virtual Machine. Therefore, in order to develop applications using the Java language, we need to install JDK on our computer. Yes, after this brief information, let's move on to the JDK installation now.
First, I will open our web browser. I use Google Chrome but you can use any browser you want. Now, let's write the download JDK in the search bar. After pressing the enter key, I opened the first of the results namely the Java Downloads Oracle page. If you notice, the most up-to-date version of Java is Java 18 and it's available, but we install the Java 8 for the Java standard edition 8 certificate course. For this reason, I will click the Java archive tab here.
I will scroll down this page and as you can see, all versions of the Java is here. We will install the Java SE 8 (8u211 and later) version. So, I click here. I will scroll down this page and under the Java SE development kit 8U333 title, we can see the download options of the JDK 8. From here, we can download the appropriate JDK for our computer. As you can see, there are JDK installation files for Linux, Mac, and Windows operating systems. Since my operating system is Mac OS 64-bit, I choose the jdk.8u333.macosx.x64.dmg option from here. Also, at this stage we need to confirm the license agreement. As you can see, the download has started. You may also be asked to log in with your Oracle account at this stage.
If you have an Oracle account, you must log in using that account. If you do not have an Oracle account, you may need to create a new one. After logging in, the download will begin. The download may take some time depending on your Internet speed. Therefore, I am stopping the screen recording here and when the download is complete, we will continue where we left off. Yes guys, the download is complete. I will double click on this DMG folder. And as you can see, the setup wizard was opened. I double click on this box to start the installation. In this window, I click the 'Continue' button and I click the 'Install' button. At this stage, the operating system asks you to enter the system password.
After entering the password, I click the 'Install Software' button, and the installation process has begun. This process may take some time. Okay, the installation is finished. I click the 'Close' button to close this wizard, and you can click the 'Move to Trash' button. Yes, the installation is done. Also, we can check the Java version from the terminal. I open the terminal. Here, I write Java and after a space I write -version and click 'Enter'. If everything goes right, you will see the version of Java. Congratulations. Yes, friends, we have completed the JDK installation. Let's take a short break here. See you in the next lesson.
OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.