Archives For java

Eclipse 4.8 Photon was released a week ago. You can now install it in Ubuntu 18.04, Ubuntu 17.10, Ubuntu 16.04 easily via snap package.

Eclipse Photon release highlights:

  • Full Eclipse IDE user experience for building, debugging, running and packaging Rust applications.
  • Expanded C# editing and debug capabilities, including syntax coloring, autocomplete suggestions, code diagnostics, and code navigation tools.
  • Java 9, Java 10 and JUnit 5 support.
  • Dark theme improvements in text colors, background color, popup dialogs, mark occurrences, and more.

How to Install Eclipse 4.8 Photon in Ubuntu:

The community has built the snap package of Eclipse Photon. It’s an universal Linux package format that bundles all its dependencies, and auto-updates itself once a new release is published.

The Eclipse 4.8.0 snap can by easily installed in Ubuntu Software:

Note that there are two versions of Eclipse in Ubuntu Software. Take a look at the version number before installing the package.

You can also install the snap by running command in terminal:

snap install --classic eclipse

In addition:

1. For Ubuntu 16.04 users never installed a snap package, make sure snapd daemon is installed via command:

sudo apt-get install snapd snapd-xdg-open

2. For Java environment, either install the OpenJDK via command:

sudo apt-get install default-jre

For Oracle Java 8 or Java 10, see this how to tutorial.

The first bug-fix release of IntelliJ IDEA 2018.1 was released a few days ago with several important and critical bug-fixes.

IntelliJ IDEA 2018.1.1 includes following fixes:

  • An important fix that restores the automatic check for updates.
  • The keystrokes aren’t lost during freezing anymore
  • Clicking the Replace all option from the Replace in path dialog doesn’t cause the IDE to freeze
  • Issue with broken JPS that inhibits all non-gradle Android builds
  • Facet settings stored externally are now loaded by the build process
  • support for annotationProcessorPaths option in the maven-compiler-plugin 3.5 for external dependencies.
  • Performance for scrolling huge text file on 4K monitors was improved
  • The issue with AWT popups, which were above other process windows after alt-tab, was fixed

Install IntelliJ IDEA 2018.1.1 in Ubuntu:

Jetbrains offers official snap packages for Ubuntu Linux users. You can install it in Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04 via following steps.

1. (Ubuntu 16.04 only) For those who never installed a snap package, open terminal (Ctrl+Alt+T) and run command to install snapd daemon:

sudo apt-get install snapd snapd-xdg-open

No visual feedback while typing your password due to security reason.

2. Then you can search for and install IDEA via Ubuntu Software:

Or run command in terminal instead to install the IDE:

snap install intellij-idea-community --classic

For the ultimate edition, replace intellij-idea-community with intellij-idea-ultimate in the code.

IntelliJ IDEA 2017.3.2 was released earlier today with some new features and numerous bug-fixes.

New Features in IntelliJ IDEA 2017.3.2 includes:

  • Support Heroku API v3
  • Add dedicated support for java.time.Duration in config files
  • Spring Boot: Endpoints: support new SB 2.0.0 properties for managing actuator endpoints
  • Allow configure vuejs interpolation literals
  • Node debugging: allow to override default debug options passed to Node
  • ES6: Copy-paste support. Add imports for referenced exported elements
  • Support authorization with Basic or Digest
  • TypeScript service: if project contains only one root tsconfig.json use the config options for all files from the project
  • And see the release note for bug-fixes.

How to Install IntelliJ IDEA 2017.3.2 in Ubuntu:

There are a few ways to run the latest release of the Java IDE in Ubuntu desktop. And here are 3 of them:

method 1: Download official Linux package (NON-INSTALL), extract and run the executable to launch the IDE:

Download IntelliJ IDEA for Linux

method 2: Install the Snap package (runs in sandbox) for Ubuntu 16.04 and higher:

Open terminal via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run command:

sudo snap install intellij-idea-community --classic

Replace intellij-idea-community with intellij-idea-ultimate for ultimate edition. And type your password (no visual feedback) when it asks.

method 3: Install the traditional .deb package via PPA to get the official Linux package and install the application shortcut automatically.

To do so, open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the .deb packages:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

Also replace intellij-idea-community in the code with intellij-idea-ultimate for ultimate edition.

Uninstall:

For the snap packages, you can either remove them from Ubuntu Software, or by running command in terminal:

sudo snap remove intellij-idea-community intellij-idea-ultimate

For the PPA packages, remove them either via Synaptic package manager, or by running command in terminal:

sudo apt-get remove --autoremove intellij-idea-community intellij-idea-ultimate

And you can remove the PPA via “Software & Updates” utility under Other Software tab.

The first update for IntelliJ IDEA 2017.3 series was release a day ago with few bug fixes.

IntelliJ IDEA 2017.3.1 fixed:

  • Groovy: Intellisence does not work in Groovy code
  • JavaScript.Frameworks: Freezes when switching git branches

How to Install IntelliJ IDEA 2017.3.1 in Ubuntu:

There are a few ways to run the latest release of the Java IDE in Ubuntu desktop. And here are 3 of them:

method 1: Download official Linux package (NON-INSTALL), extract and run the executable to launch the IDE:

Download IntelliJ IDEA for Linux

method 2: Install the Snap package (runs in sandbox) for Ubuntu 16.04 and higher:

Open terminal via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run command:

sudo snap install intellij-idea-community --classic

Replace intellij-idea-community with intellij-idea-ultimate for ultimate edition. And type your password (no visual feedback) when it asks.

method 3: Install the traditional .deb package via PPA to get the official Linux package and install the application shortcut automatically.

To do so, open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the .deb packages:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

Also replace intellij-idea-community in the code with intellij-idea-ultimate for ultimate edition.

Uninstall:

For the snap packages, you can either remove them from Ubuntu Software, or by running command in terminal:

sudo snap remove intellij-idea-community intellij-idea-ultimate

For the PPA packages, remove them either via Synaptic package manager, or by running command in terminal:

sudo apt-get remove --autoremove intellij-idea-community intellij-idea-ultimate

And you can remove the PPA via “Software & Updates” utility under Other Software tab.

Jet Brains announced the release of IntelliJ IDEA 2017.3 earlier today. Here’s how to install it in Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.10, and Ubuntu 18.04.

IntelliJ IDEA 2017.3 is a new massive release that includes loads of new features and dozens of important bugfixes. See the release note for details.

How to Install IntelliJ IDEA 2017.3 in Ubuntu:

There are a few ways to run the latest release of the Java IDE in Ubuntu desktop. And here are 3 of them:

method 1: Download official Linux package (NON-INSTALL), extract and run the executable to launch the IDE:

Download IntelliJ IDEA for Linux

method 2: Install the Snap package for Ubuntu 16.04 and higher:

Open terminal via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run command:

sudo snap install intellij-idea-community --classic

Replace intellij-idea-community with intellij-idea-ultimate for ultimate edition. And type your password (no visual feedback) when it asks.

method 3: Install the traditional .deb package via PPA to get the official Linux package and install the application shortcut automatically.

To do so, open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the .deb packages:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

Also replace intellij-idea-community in the code with intellij-idea-ultimate for ultimate edition.

Uninstall:

For the snap packages, you can either remove them from Ubuntu Software, or by running command in terminal:

sudo snap remove intellij-idea-community intellij-idea-ultimate

For the PPA packages, remove them either via Synaptic package manager, or by running command in terminal:

sudo apt-get remove --autoremove intellij-idea-community intellij-idea-ultimate

And you can remove the PPA via “Software & Updates” utility under Other Software tab.