Showing posts with label Java. Show all posts

[NOTE] Không thể cài đặt được Oracle JDK từ PPA kể từ 16/04/2019 (Đã có PPA thay thế)

Fix: 
Có một số nguồn PPA thay thế cho việc cài đặt này.
Trong đó có thể xài đến PPA của “Hellenic Schools Technical Support Team” team như sau.
sudo add-apt-repository ppa:ts.sch.gr/ppa
sudo apt-get update
sudo apt-get install oracle-java8-installer
Last check: 07/10/2019 vẫn còn hoạt động tốt với Oracle Java 8.
Nguồn: https://askubuntu.com/questions/1139387/update-to-latest-version-of-java-after-ppa-is-discontinued

_________________________________________________________________________________
Do License của Oracle thay đổi nên kể từ ngày 16/04/2019 chúng ta chỉ có thể cài Oracle JDK từ trang chủ của Oracle (Yêu cầu login bởi tài khoản Oracle).

Nguyên văn thông tin Official:
"The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here.

Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE 8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle).

For this reason, THIS PPA IS DISCONTINUED (unless I find some way around this limitation)."


IntelliJ IDEA - Java Developer IDE

In the Java world, there are many support tools for building and debugging applications. With the diversity that gives users more choice, but it's also difficult for beginners, They don't know what tools are optimal and most appropriate for themselves.
Through my work, I would like to introduce to the IntelliJ IDEA tool - a powerful support tool for Java programmers.
To download and install the application, let us visit the download page of the application. Press releases download absolutely free Community Edition.


After downloaded the installation file, click and install according to instructions on the display (If you are unsure, just click the Next button until the finish).
The installation is completed, you will see the interface as shown below: 

Create New Project: Create any new Project,
Import Project: import Eclipse project.
Open: Open exists project from the drive.
The next step we will generate Java Hello World application test first.
Click button Create New Project:
Select the Java JDK from the drive where you have downloaded and installed earlier (If not, you can download and install it here).
Click Next Button.
Tick checkbox "Create project from template". This will create a simple Java application that includes a class with main() method.
Continue click next button. 

Project named according your hobby and click finish.
Follow the tips to know the features of the IDE. After finished, You will see a great interface and professionally to develop applications.

Follow the simple code to show "hello world!" on a terminal.
Click Tab Run/ Run 'main' or green triangle button right corner of the toolbar to run the program.

The end, we will see "Hello World!" printed on the terminal screen as below.


After completing all the above steps, you know how to install and create the first application using IntelliJ IDE simplest.
As for the features of the tool, I will introduce in the next articles.
Thank you, if you have any questions please leave a comment.