Many developers and programmers choose to use a Linux system as their work environment because of its stability, speed, and ease of use. To get started with programming Java, or to simply run Java applications or applets on Linux, you will need to install the appropriate Java software package. Although this is pretty easy to do, the instructions will vary depending on a user’s Linux distribution, what version of Java they wish to use, and whether they need the JDK (Java Development Kit) or just the JRE (Java Runtime Environment).
java
Ubuntu 22.04 Eclipse installation
Eclipse is a free Java IDE that can be installed on Ubuntu 22.04 Jammy Jellyfish. It is currently one of the most popular Java integrated development environments available.
How to install IntelliJ IDEA on Ubuntu 22.04 Linux Desktop
IntelliJ IDEA is a free Java IDE that can be installed on Ubuntu 22.04 Jammy Jellyfish. It is developed by JetBrains and has both a free community edition and a commercial edition.
How to Install Open-Source VSCode Without Telemetry on Linux
Visual Studio Code or VSCode is a text editor developed by Microsoft that supports many popular programming languages such as Go, Java, JavaScript, Node.js, Python, C and C++. It is a directory based, language agnostic source code editor which focuses on directories rather than projects and has many extensions available for it. VSCode’s feature set includes bracket matching, syntax highlighting, code folding, linting, debugging, and built in version control via Git, Subversion or Perforce. Ever since the initial release of VSCode in 2015, it has become an increasingly popular programming tool amongst users of all desktop operating systems including GNU/Linux.
How to install Java on Kali Linux
The objective of this guide is to show how to install the Java Development Kit (JDK) on Kali Linux. This is needed by Java developers and programmers in order to compile and run Java applications. It’s also required for security tools that are built in Java.
In this tutorial you will learn:
- How to install Java JDK in Kali Linux
How to install Node.js on Linux
Node.js is a JavaScript runtime environment that is used for hosting websites. It offers users the ability to write websites in JavaScript whose code executes on the server instead of a client’s browser.
To host a website with Node.js on a Linux system, you need to download and configure the Node.js software. Node.js is available for installation on any major Linux distro, although the commands to install it may differ. Most users will also wish to install npm, the package manager for Node.js and JavaScript, when they install Node.js.
In this guide, we’ll show you how to install Node.js from the command line on various Linux distributions so you can get started hosting your JavaScript based website. We’ll also include instructions for installing npm.
In this tutorial you will learn:
- How to install Node.js on major Linux distros
Install npm on Linux
npm is the package manager for Node.js and the JavaScript coding language. It can be installed on a Linux system and then used on the command line to download and install JavaScript packages and their requisite dependencies.
It’s especially useful for developers working with Node.js, as npm’s online registry contains a plethora of JavaScript packages that can be browsed and downloaded with ease. It’s available for installation on any major Linux distro and operates in much the same way as a distro’s package manager, which you’re probably already familiar with.
In this guide, we’ll show you how to install npm on various Linux distributions. We’ll also show you basic usage commands for npm, such as installing and removing software packages.
In this tutorial you will learn:
- How to install npm on major Linux distributions
- Basic usage commands for npm
How to install Java on Manjaro Linux
Many developers and programmers choose Manjaro because it’s one of the most user-friendly and feature-rich Linux distributions. In this guide, we go over the steps to install the Java Development Kit on Manjaro Linux. We’ll show you how to install both the OpenJDK package (which is free and GPL-licensed) as well as Oracle Java SE Development Kit.
Arch Linux and Manjaro only officially support the OpenJDK, as that is the non-proprietary version. However, the Oracle package can be installed from the AUR, as you’ll see shortly.
In this tutorial you will learn:
- How to install OpenJDK
- How to install Oracle Java SE Development Kit
- How to test Java installation
Introduction to Javascript loops
Nowadays Javascript can be easily defined as the world most used programming language: it is used on a variety of platforms, it is integrated in web browsers and thanks to the Node.js runtime it can also be used server-side. In this tutorial we will see the loops we can be used in modern Javascript.
In this tutorial you will learn:
- What is the syntax and how the while loop works in Javascript
- The syntax of the do/while loop and how it works in Javascript
- The syntax of the for loop and how it works in Javascript
- The syntax of the for/of loop and how it works in Javascript
- The syntax of the for/in loop and how it works in Javascript
How to persist data to PostgreSQL in Java
Java is perhaps the most widely used programming language nowadays. It’s robustness and platform-independent nature enables Java based applications to run on mostly anything. As is the case with any application, we need to store our data in some sort of reliable way – this need called databases to life.
In Java database connections are implemented by JDBC (Java Database Connectivity API), that let’s the programmer handle different kind of databases in almost the same way, which makes our lives much easier when we need to save or read data from a database.
In this tutorial we will create an example Java application that will be able to connect to a PostgreSQL database instance, and write data into it. To check that our data insertion is successful, we’ll also implement reading back and print the table we inserted data into.
In this tutorial you will learn:
- How to setup the database for the application
- How to import PostgreSQL JDBC Driver into your project
- How to insert data into the database
- How to run a simple query to read a database table’s content
- How to print fetched data
How to install Java on Ubuntu 18.04 Bionic Beaver Linux
Objective
The objective of this tutorial is to install Java on Ubuntu. We will be installing the latest version of Oracle Java SE Development Kit (JDK) on Ubuntu 18.04 Bionic Beaver Linux. This will be performed in three ways: Installing Java using the Ubuntu Open JDK binaries, installing Java via PPA and installing Java using the official Oracle Java binaries.
Operating System and Software Versions
- Operating System: – Ubuntu 18.04 Bionic Beaver
- Software: – Java(TM) SE Runtime Environment 8,9,10 or 11
Requirements
Privileged access to to your Ubuntu 18.04 Bionic Beaver Linux system is required to perform this installation.
Conventions
How to Install Node.js on Ubuntu 18.04 Bionic Beaver Linux
Objective
The objective is to install Node.js the cross-platform JavaScript runtime environment on Ubuntu 18.04 Bionic Beaver Linux from standard Ubuntu 18.04 repository or by use of Node Version Manager, NVM.
This tutorial is available for other Ubuntu Versions:
Operating System and Software Versions
- Operating System: – Ubuntu 18.04 Bionic Beaver
Requirements
Privileged access to your Ubuntu System as root or via sudo
command is required.