FreeBSD Desktop Java IntelliJ IDEA Setup

For those of you who like coding in Java or Kotlin, you will definitely be familiar with this great IDE. IntelliJ IDEA, an IDE developed by Jetbrains. IntelliJ IDEA is available in 2 (two) versions, namely the Community Edition version with an Apache 2 Licensed license which we can use for free and the Ultimate Edition version for commercial use.

IntelliJ IDEA, which was written in Java and Kotlin, released its first version in January 2011, and immediately became the first IDE for developing Java-based applications. It supports advanced code navigation and integrated refactoring capabilities.

In general, an IDE provides several features such as a text editor that we will use to write code, tools to automate the build process of the program we create and also a debugger that will help us detect and correct errors in the program.

1. IntelliJ IDEA Features

In general, an IDE can provide many features such as a text editor that can be used to write some code. Tools aimed at automating the build process in programs that you have created and debuggers can help you detect and correct many errors in the program.

Apart from that, IntelliJ IDEA also still has various more powerful features. This feature can help you quickly complete several programs that are being developed. Below are various features that you should know:

1. Intelligent Code Editor

IntelliJ IDEA provides an editor that is used to support various types of code completion, which is a feature that can help you write code quickly. The IDE is able to analyze the context of the code that has been written, thereby providing direction and completion of the correct code typing.

Another thing is that IntelliJ IDEA can support integrated refactoring, making it easier for you to minimize errors that can occur when there are changes in the project you are developing.

2. Decompiler

Apart from that, IntelliJ IDEA has a decompiler with a default breakthrough that is used for Java Classes and is quite widely used to see what is contained in a library without having to have the code from the source. Using this method generally requires a plugin from a third party, but you can use IntelliJ IDEA directly.

3. Build Tools

Build tools, software that we will use to help automate processes such as packaging the project we will develop, running tests, and advanced development. IntelliJ IDEA supports several build tools such as Maven, Gradle, Ant, SBT, NPM, Webpack, Grunt, Gulp, and other build tools that are well integrated with each other.

4. Shortcuts

To support productivity in its use, IntelliJ IDEA provides shortcuts related to navigation, editing, refactoring, and other activities in IntelliJ IDEA. Below are some commonly used shortcuts:

a. Ctrl + Ctrl (perform any action)
The shortcuts below are used to execute commands, for example opening a project, running commands on the command line, bringing up the configuration window, and many other commands.

b. Shift + Shift (search)
If you want to search for a project that you are going to do or are currently working on, for example looking for a project file, you can use this shortcut.

c. Ctrl + E (Latest File)
This command is used to display previously opened files in list form.

d. Ctrl + Space (code completion)
This command is used in fast code completion.

e. Ctrl + D (duplicate code)
This command aims to duplicate lines of code, so you don't have to copy paste.

f. Ctrl + / &Ctrl + Shift + / (Comment block)
This command is used in commenting one or more lines in the code.
Apart from the above, there are many more things you can do using shortcuts that can make your activities easier.

g. Terminal
When running some commands in a terminal, you don't need to switch from the editor. Therefore, Intellij IDEA is also equipped with a built-in terminal with platform bases that can be used, for example Far, Bash, Powershell, and command prompt.

2. IntelliJ IDEA installation

The main requirement for installing IntelliJ IDEA on FreeBSD is that the Java application must be installed on your FreeBSD server. Read the previous article about how to install Java on FreeBSD.

In this article we will install IntelliJ IDEA using the FreeBSD ports system.
root@ns7:~ # cd /usr/ports/java/intellij
root@ns7:/usr/ports/java/intellij # make install clean
On the FreeBSD server IntelliJ IDEA can only be run with FreeBSD Desktop Gnome or KDE. So you can use GhostBSD or hellosystem.

Recommended system requirements for running IntelliJ IDEA according to JetBrains:

  1. GNOME or KDE desktop.
  2. 1 GB RAM minimum, 2 GB RAM recommended.
  3. 300 MB hard disk space + at least 1 GB for caches.
  4. 1024x768 minimum screen resolution.
  5. Java17 or later.
You do not need to install Java to run IntelliJ IDEA because JetBrains Runtime is bundled with the IDE (based on JRE 17). However, to develop Java applications, a standalone JDK is required.
Iwan Setiawan

I Like Adventure: Mahameru Mount, Rinjani Mount I Like Writer FreeBSD

Post a Comment

Previous Post Next Post