Open In App

How to Install Scala on Netbeans in Linux?

Last Updated : 11 Nov, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

NetBeans is Oracle’s community-based Integrated Development Environment (IDE) for a variety of software development interests including Java, PHP, etc. It requires a JDK installation. Originally designed in Switzerland, Scala was released to the public in 2004 to address Java’s famous verbosity Its focus is on both object-oriented and functional programming, and this is reflected in the hybrid approach of the standard library. 

Prerequisite to Install Scala on NetBeans

  • Download NetBeans in your System
  • Download Scala in your System

Downloading Netbeans

 To download NetBeans IDE in your system go with the below link, 

https://netbeans.apache.org/

To download Scala in your system go with the below link, 

https://www.scala-lang.org/download/

How to Install Scala on NetBeans?

Step 1: After installing Scala extract this into the program file.

Extracting-scala

 

Step 2: Now go to your NetBeans folder -> bin -> open the NetBeans file.

Opening-netbeans

 

Netbeans-file

 

Step 3: Set up the environment to get Scala by giving the command with the right path, name, and version of Scala which is to export SCALA_HOME=$HOME/Programs/scala-2.11.12.final and save.

Setting-up-environment

 

Step 4: In order to install Scala plugins you need to go to get the Scala plugins binary form from this link and download the zip and extract it on your desktop.

https://github.com/dcaoyuan/nbscala

Downloading-zip-file

 

Step 5: Now open NetBeans ide.

Opening-netbeans-ide

 

Step 6: Now go to the tools option in NetBeans click plugins -> downloaded -> add plugins -> go to desktop and copy all the files and open.

Clicking-plugins-from-tools

 

Copying-files

 

Step 7: Just click on install.

Clicking-install-button

 

Step 8: Now create your project with the Scala application by clicking on new projects.

Creating-project

 

Running-code

Scala on NetBeans 11

This all the steps for installing Scala on NetBeans by following these simple steps you can successfully install it on the system as well.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads