Linux Installation
Start course
Difficulty
Beginner
Duration
56m
Students
17
Description

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.

Learning Objectives

  • Obtain a foundational understanding of Java EE 6
  • Learn how to install the necessary programs to begin using Java EE 6

Intended Audience

This course is intended for anyone who already has basic knowledge of Java and now wants to learn about Java EE 6.

Prerequisites

Basic knowledge of Java programming.

 

 

Transcript

Install Java EE 6 on Linux. Hi dear friends. In this lesson, we will install Java EE 6 and Eclipse Neon 3 IDE on Ubuntu Linux. I open a web browser and go to Google. I simply write, Java EE 6 JDK. I click on the first link of result. It heads me to the Oracle download page. Here, I select Java Platform Enterprise Edition 6 SDK with JDK 6u29. On the new page, I select the package for Linux 64-bit with multi-language. A pop up appears. Click the box to accept the license agreement, and press the download button. It redirects me to the single sign-on page of Oracle. We need to have an Oracle login to download the file. I entered my login info and the download started. Now I am going to download Eclipse Neon IDE. I just typed in, download Eclipse Neon 3 and clicked on the first link of the results.

On this page, I clicked 'Eclipse IDE for Java EE developers, Linux 64-bit option'. And the download starts. When the download process finishes, I open the download folder. Here, I open a terminal window. I use ls command to list files. As you see, we have two files. The font color of Java installation file is white. That means the file is not executable. We need to make it executable. To do this, we use the chmod command. Let's list again. As you see, the file font color is green now. We can run it. I am executing it. A new window is opened. Click 'Next', click 'Next' with typical installation. Continue by leaving the installation directory as is. Uncheck 'Install Update' tool and click 'Next'. Installation process is continuing. Now, click 'Next', click 'Next'. The summary page appears, click 'Exit'. Now I am going to extract Eclipse Neon. It is either compressed or archived with tar format.

First, I need to un compress it. I use the gunzip command. Okay, I am using tar command to extract it. A new folder appeared. I copied it to my desktop. Double click the 'Eclipse'. Click 'OK' for workspace directory. Eclipse IDE opened. You can see Eclipse version using help. About menu items. Now, we will change default JRE for Eclipse. To do this, click 'Window', 'Preferences'. Here, type JRE. On the link of results, click 'Installed JRE'. As you see, there is Java 8 as default JRE. We need to add JDK 6 as default. Click 'Add', click 'Next'. Click 'Directory' button to select JRE directory of JDK 6. JDK 6 directory is on the home directory. Click 'Home', click 'ClassFish', click 'JDK', click 'JRE', and click 'OK'. Click 'Finish' button and check the box near where we just added JDK and click 'OK'. We changed default JRE successfully. In the next video, we will start Common Architectures lecture with client tier design principles. See you in the next video.

 

About the Author
Students
1911
Courses
64
Learning Paths
4

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.

Covered Topics