Archives For java

JetBrains IntelliJ IDEA 2017.2.3 was release one day ago with some new features, usability improvements, and numerous bug-fixes.

According to the release note, IntelliJ IDEA 2017.2.3 fixed bugs and improved usability to SQL database, docker, UML, CSS modules, JavaScript, and more.

IntelliJ IDEA 2017.2 splash

Download / Install IntelliJ IDEA 2017.2.3:

The official source tarballs (non-install) are available for download at the link below:

IntelliJ IDEA for Linux

Just extract and run executable file to launch the IDE.

An unofficial PPA is also available which contains an install script that automatically:

  • downloads the official source tarball via wget.
  • extracts to /opt/ for global use.
  • installs icon and application shortcut for Ubuntu integration.

1. To add the PPA, open terminal via Ctrl+Alt+T and run command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Input your password (no visual feedback while typing) when it prompts and hit Enter.

2. Then check updates and install the script:

sudo apt-get update

sudo apt-get install intellij-idea-community

For the ultimate edition, use intellij-idea-ultimate in the last command.

For those who don’t want to add PPA, grab the .deb package directly from PPA packages page.

Uninstall:

To uninstall IntelliJ IDEA installed via the script in PPA, run command:

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

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

JetBrains IntelliJ IDEA java IDE has reached the new point release 2017.2.2 a few hours ago. The new release brings some new features, numerous bug-fixes and improvements.

Changes in IntelliJ IDEA 2017.2.2 includes:

  • Fix crashes that occurred with the use of using custom fonts
  • Fix wrong HiDPI scaling on multiple monitors for Windows 10
  • Kotlin pugin updated to 1.1.4
  • Support for CSS Modules with LESS and SASS
  • XQuery/XPath with Language Injection
  • Favorites in the Database tool window
  • Fix major performance regression

IntelliJ IDEA 2017.2 splash

How to Install IntelliJ IDEA 2017.2.2 in Ubuntu:

JetBrains offers official Linux packages for download at the link below:

Download IntelliJ IDEA for Linux

Just extract and run the executable file to launch the Java IDE.

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, you can also use the installer script available in the link below.

Run the script will download the official package from JetBrains web server, then install it in your Ubuntu automatically with application shortcut integration.

Then install the script via command:

sudo dpkg -i ~/Downloads/intellij-idea-*_2017.2.2-1_all.deb

To automatically update the installer script, add the PPA repository via command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

Uninstall:

To remove IntelliJ IDEA installed via the script, run command:

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

JetBrains’ IntelliJ IDEA Java ide has reached the 2017.2.1 release a few hours ago with lots of bug-fixes and some performance updates.

IntelliJ IDEA 2017.2.1 is the first bug-fix release for the 2017.2 series that fixes:

  • Performance issue while typing
  • 100% of one core CPU usage issue
  • Version 2017.2 can’t load project with character “|” in its name
  • Java 9 compilation fails with error
  • Add feature: showing comments in Database tree
  • Various fixes to Docker, Java. Inspections, Spring, JavaScript, JavaScript. Frameworks, JavaScript. Inspections
  • Some new features and many other fixes, see release note for details.

IntelliJ IDEA 2017.2 splash

How to Install IntelliJ IDEA 2017.2.1 in Ubuntu:

The official Linux packages are available for download at the link below:

IntelliJ IDEA Linux Download

Grab the package, extract, and run the executable to launch the IDE. You may manually create an application shortcut to be able to start it from app launcher.

For Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, you can also use the installer script to download the IDE from JetBrains’ web server, install it to /opt/, and automatically create an app shortcut for it.

installer script (.deb) for IntelliJ IDEA Community | IntelliJ IDEA Ultimate

Install the script via dpkg command:

sudo dpkg -i ~/Downloads/intellij-idea-*_2017.2.1-1_all.deb

Alternatively, simply open terminal (Ctrl+Alt+T) and run following commands one by one to add the PPA and install the script:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

sudo apt-get update

sudo apt-get install intellij-idea-community

replace intellij-idea-community with intellij-idea-ultimate in the last command to install the ultimate edition.

Uninstall:

To remove the Java IDE, simply run command in terminal:

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

And remove the PPA via Software & Updates utility under Other Software tab.

This quick tutorial is going to show you how to install the IntelliJ IDEA IDE, both community and ultimate editions, via PPA in all current Ubuntu releases.

IntelliJ IDEA is a Java IDE developed by JetBrains. So far the latest is version 2017.1.5 that was released more than a week ago with some bug-fixes and performance updates.

intelliJ IDEA ultimate

While the official Linux binaries lack application launcher integration, Marcel Kapfer made an installer script that automatically downloads the source tarball from JetBrains server, installs it to /opt/, and finally creates an app launcher.

Install the script:

For all current Ubuntu releases, including Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, Ubuntu 17.04, and derivatives, I’ve made the new script into PPA since the original maintainer does not update the latest release at the moment.

Download the latest script from the link below:

intellij-idea-community_xxxx.xx-1_all.deb (community version)

intellij-idea-ultimate_xxxx.xx_all.deb (ultimate edition)

Then open terminal via Ctrl+Alt+T or by searching for it from app launcher, and run command to install the script:

sudo dpkg -i ~/Downloads/intellij-idea-community_*_all.deb

replace community in the command with ultimate for ultimate version.

Once installed, launch the IDE from your app launcher and enjoy!

For those who want to upgrade the IDE through Software Updater (Update Manager), add the PPA repository via command:

sudo add-apt-repository ppa:ubuntuhandbook1/apps

OpenJDK Java 8

OpenJDK Java 8 has been made into official Ubuntu repositories for 14.10 Utopic and higher. For Ubuntu 14.04, Ubuntu 12.04, and Linux Mint 17 users here’s how to install it from PPA.

OpenJDK 8 was released in March 2014. It’s available in Ubuntu Software Center for Ubuntu 14.10 and Ubuntu 15.04. Someone has reported in launchpad asking for packaging openjdk-8 in Ubuntu 14.04, but no luck so far.

As a workaround, you can install OpenJDK 8 from a PPA repository:

1. Open terminal from the Dash or by pressing Ctrl+Alt+T. When it opens, run the command below to add PPA:

sudo add-apt-repository ppa:openjdk-r/ppa

OpenJDK 8 PPA

Type in user password when it asks and hit Enter to continue.

2. After that, update system package cache and install OpenJDK 8:

sudo apt-get update 

sudo apt-get install openjdk-8-jdk

3. If you have more than one Java versions installed on your system. Run below command set the default Java:

sudo update-alternatives --config java

Type in a number to select a Java version.

set default java version

And set default Java Compiler by running:

sudo update-alternatives --config javac

4. Finally check out current Java version by running:

java -version

It outputs something like this:

openjdk version "1.8.0_01-internal"
OpenJDK Runtime Environment (build 1.8.0_01-internal-b04)
OpenJDK 64-Bit Server VM (build 25.40-b08, mixed mode)