Categories
Linux Ubuntu

Install Eclipse in Ubuntu 20.04

Step 1: Install Java If java is installed skip this step. Accept the lisence term Once installed, check the Java version Step 2: Download Eclipse Download using link https://www.eclipse.org/downloads/ Step 3: Install Eclipse Extract the download file, and run installer It will ask to select IDE. Select your choice. I have selected Java EE, and […]

Categories
Eclipse Java Ubuntu Ubuntu 18.04

Install latest Eclipse in Ubuntu 18.04 easily

Step 1: Update your system apt-get update && apt-get upgrade Step 2: Install Java Open JDK sudo apt-get install default-jdk It will install the latest version of Java. Step 3: Install Eclipse using snap Sudo apt install eclipse Step 4: Check installation Click on “Show application”, it will all the installed applications along with Eclipse

Categories
Java Ubuntu Ubuntu 18.04

Install Java in Ubuntu

Step 1: Update system apt-get update && apt-get upgrade Step 2: Install Open JDK sudo apt-get install default-jdk Step 3: Check installation Using the command: java -version, if it shows the version of java installed, it means its properly installed. Done!

Categories
Eclipse Java Spring

Installing Lombok in Eclipse

Step 1: Download jar file from Lombok official site. Step 2: Open Command Prompt, navigate to the download folder, type command: java -jar lombok-1.18.4.jar Step 3: Lambok will open, it will automatically select the default Eclipse installation folder, it can be manually selected as well. Step 4: After selecting the Eclipse installation directory, click Install/Update, […]

Categories
Java Windows 10

Run java program in sublime text 2 or 3

Java or any other program could easily run from the sublime text. Just we need to build a build system and build using it. Follow the easy steps below: Step 1: Create a new Build System Step 2: Copy the code written below, and save it Give it a name JavaComiler or anything you like […]

Categories
Tomcat

Add Tomcat server in Eclipse IDE

Step 1: Select “Server Name”; Window -> Preference -> Server -> Add -> Apache Tomcat Version -> Next Step 2: Give path of root directory of Apache Tomcat Installed in the system. And click Apply and close Step 3: Add server tab in prospective; Windows -> Show view -> other -> Server -> Open Step […]

Categories
Eclipse Java JSP Tomcat

Hello World JSP using Eclipse and Tomcat

Step 1: Create a Dynamic Web Project Give it a name Step 2: Create one JSP file with name index.jsp in WebContent folder Step 3: Add a heading “Hello World” in jsp page to test Step 4: Now Right click on the project root directory and run on server The result will be displayed on […]

Categories
Eclipse Java Tomcat

How to fix: Eclipse, The superclass “javax.servlet.http.HttpServlet” was not found on the JavaBuild Path

Step 1: Right click on the project root directory, and click on properties Step 2: Then click on Target Runtimes, select Tomcat, click “Apply and Close”

Categories
Eclipse Java Tomcat

Table: Tomcat version and its supported Java versions

Apache Tomcat new versions don’t support new older Java versions, must check Java support versions before installing Apache Tomcat. Verify support versions of Apache Tomcat and Java Versions using the table below.

Categories
Eclipse Java Tomcat

How to install Tomcat using zip file

Step 1: Go to official Apache Tomcat Website, navigate to download section, download appropriate version, and download zip file Step 2: Once downloaded, extract the file, and copy the extracted file to your suitable installation directory Step 3: Open “Command Prompt”, navigate to the “Tomcat extracted directory”, navigate to bin directory, start Tomcat using command […]