![]() ![]() # echo "deb-src xenial main" | tee -a /etc/apt//webupd8team-java.list The commands are : # echo "deb xenial main" | tee /etc/apt//webupd8team-java.list ![]() There have been users that used PPAs in one form or another on their Debian systems, perhaps thinking that, since Ubuntu is Debian-based, well, what could go wrong? So, if usually adding a PPA to a Debian OS is not the hottest idea, here it’s working, because the PPA is only created for Java, which is portable enough not to create problems. If you have been warned about adding PPAs to a Debian system, that warning is very well funded. On Debian, the commands are similar, so are the sources. Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_31-b13) This should yield an output that looks like this : java version "1.8.0_31" ![]() Now, let’s check if the installation process completed correctly : $ java -version This is all you should need in order to have the Oracle Java Development Kit. $ sudo apt-get install oracle-java8-installer On Ubuntu, you first have to add the PPA, as explained before : $ sudo add-apt-repository ppa:webupd8team/java ![]() So let’s make sure we have the right JDK installed.īefore we go further, please make sure you acknowledge if you have OpenJDK installed and if so, take note of this as you’ll have to specify the correct JDK – Oracle JDK instead of OpenJDK – for IDEA to work correctly with Scala projects. This is a specific requirement, as you can’t use OpenJDK, so please note this before we start. On Linux, the only prerequisite for installing Intellij IDEA, which is the IDE we’ll be talking about, is the Oracle Java JDK. It just aims to get the user up and running with an IDE for writing Scala code in the shortest time possible. From the beginning we want to clearly state that this is not, by any means, an article on the language itself. The TIOBE index, if you’re not familiar with the name, is the somehow-authoritative source of information regarding programming language popularity. The popular TIOBE Index ranks it, as this article is written, as being more used than more popular languages like Haskell or Go. Scala is a programming language that is starting to gain momentum in the last years. ![]()
0 Comments
Leave a Reply. |