How to start development

Published 15 November 2018

Installing JRE(JDK) on Linux (Ubuntu 16.04)

Introduction

Introduction

For the correct operation of Credits software, in particular Desktop Wallet app and Executor, it is necessary to have the following installed on the user's computer:

JRE 8 (the minimum virtual machine implementation required to run Java applications without a compiler and other development tools. Consists of a virtual machine) or

JDK 8 (free Java applications developer kit, distributed by Oracle Corporation (earlier Sun Microsystems) that includes Java compiler (javac), standard Java class libraries) version 1.8.

This article shows how to install these products on a computer with Ubuntu 16.04-18.04 operating system.

Installation

Installation

Because Oracle has changed the terms of its Java implementation, the Ubuntu repository does not contain Oracle Java components. There is a PPA organized by the webupd8.org website containing a tool that will automatically check the version of Java on the Oracle site and compare it with the version installed on your computer. This allows you to bypass the restrictions imposed on the distribution of Oracle Java.
To add this repository and use the latest version of Java from the Oracle site, perform the following actions in the terminal:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

In addition, this repository modifies dependencies of Java-based packages so that it is possible to safely remove OpenJDK from the system.

Verifying installation

Verifying installation

java -version
javac -version

Launch of Credits Desktop Wallet app is shown below:

and Executor utility:

22 Useful article

Contents