This course takes an introductory look at Java Enterprise Edition and explains its main characteristics. We then continue to show you how to set up a Java EE 6 environment, which will be useful when following along with our Oracle Java EE 6 Programmer learning path.
- Obtain a foundational understanding of Java EE 6
- Learn how to install the necessary programs to begin using Java EE 6
This course is intended for anyone who already has basic knowledge of Java and now wants to learn about Java EE 6.
Basic knowledge of Java programming.
Hello dear friends. In this video, we will install Eclipse and Java 6 EE JDK. Let's begin. I will start by providing a quick overview of the installations. To begin with, throughout our training course, we'll use the ClassFish3 server and Eclipse Neon 3 IDE. Naturally, you may wonder why we aren't using Eclipse 2022 and the GlassFish 5.1.
The answer is simple. Java 6 EE is an outdated technology and the most recent GlassFish version that Java 6 supports is GlassFish 3. Eclipse 2022 has an error between GlassFish 3 and JDK 6 causing installations to fail. Oracle ignores this error because Java 6 EE is old technology. Therefore, we'll use Eclipse Neon 3 and GlassFish 3 throughout this course. I do not want to provide you with any links because they may become invalid over time.
Instead, we will download them through Google searches. Let's get started with the installations. Since an SDK is the first thing we need, start by searching for Java 6 EE SDK. Now, click on the Oracle website link. And look, there are many choices. We need Java platform Enterprise Edition 6 SDK update 3 with JDK 6u29. The web profile would be of limited use for us.
So, we will download the EE platform. Now, download this one. For the time being we'll download it for Windows, but in the following videos we'll do these installations for Linux also. Done. Now let's download Eclipse Neon 3. Search Eclipse Neon 3. Go to the Eclipse website. Now, we will work on Eclipse for EE developers. So, select this one for Windows, download. Search Java 6SE SDK. Now, go to the Oracle website. Select this one for Windows, download. Done. A Java runtime environment 8, JRE 8 or above, is required to run Eclipse Neon 3. So, let's search Java SE 8. Go to the Oracle website again. Now download Java 8 for Windows.
Now that we have downloaded all necessary files, let's start running the installer files. First, we will start with Java 8 SE. Run the installer file. You do not need to make any changes to the default settings. Done. Now we can create Java 6 SE. Let's run the installer file. Done. Now we can create Java 6 EE JDK. Now this installation will create a GlassFish 3 folder in C. The path is C:\glassfish 3. Done. Now that we have installed all the required files, we are set to install Eclipse. Let's extract Eclipse from downloaded file.
Let's move the extracted folder to the desktop. Done. Now, open Eclipse. Adjust the workspace. Let's look at the Eclipse version. In help menu, select 'about'. And look, my Eclipse version is 4.6.3. Now, the Java default JRE will be JRE 1.8, but we have to change with JDK 1.6 in Windows menu. Select 'preferences'. Now search JRE. Look, default is JRE 1.8. Click 'Add', 'Standard VM'. In this part, we will select EE 6 JDK's directory. Your JDK is in program files, Java folder. Add, done. Now we can select Java 6. Done. We have now finished installing JDK and Eclipse IDE. In the next video, we will add the GlassFish server to our Eclipse. See you in the next video.
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.