Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7707749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:26:22+00:00 2026-06-01T00:26:22+00:00

I am new to intellij idea and I decided to shift because I found

  • 0

I am new to intellij idea and I decided to shift because I found the scala plugin on eclipse to be annoyingly buggy.
But, intellij idea, which I have heard to be very good, looks difficult to use.
I looked through the getting started with scala plugin page but couldn’t find documentation specific to the latest version of lightweight ide of intellij idea 11 for scala.

I have created a project and made a hello world object in scala but I am not able to run it.
On trying to run it, it shows the scala interpreter (type in expressions to get them evaluated).
I don’t exactly understand what changes to make in the project structure to be able to run scala code. As of now, i added the jsdk to point to my $JAVA_HOME and the scala library is also added. The scala plugin is also working in that syntax highlighting etc is fine.

The intellij idea user interface is also not very friendly and I don’t get how to run the code. What modules am I supposed to add? Also, does compiled scala code run with jvm?
I’ll be grateful to anyone who helps out.. I have been putting off writing scala code because I am not able to find THE IDE.

EDIT: Thanks for all the help! I am now able to run a basic scala program. I am trying to add external jars. What is the equivalent of doing Project right click-> Configure Build Path -> adding external jar files in eclipse? I tried adding “dependencies ” under modules tab in project structure. It’s adding the jar files but somehow the classes in the jar files are not still recognised.

  • 1 1 Answer
  • 4 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T00:26:23+00:00Added an answer on June 1, 2026 at 12:26 am

    With the Scala plugin installed either

    • A. Create a new project and select the Scala facet in the creation phase. It will create the Scala library lib and Scala compiler lib and setup the facet for you

    • B. If you already have a project. Go to Project Structure -> Modules and right click the module and go Add facet and add a Scala facet. Now you need to add scala-library.jar as a library of the module and go into the Scala facet and point it to a library containing scala-compiler.jar

    Some more information

    enter image description here

    this is what your module should look like under project settings

    enter image description here

    select the Scala facet and this is what you should see (Library name for the compiler is unimportant as long as it says (version xxx) next to the library name

    enter image description here

    these are the jar files in my scala-compiler lib

    enter image description here

    and these are the jar files in my scala-library lib

    With everything setup like that you should be able to right click -> new Scala class (Select object from the dropdown) in a source directory and add

    def main(args:Array[String]) {
       println("Hello world")
    }
    

    then right click on the class and select Run Classnam.main() and IntelliJ will setup a run configuration for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I love the Intellij IDEA but i have been stacked on one little problem
I am a long-time code developer, but relatively new to IntelliJ Idea. Within a
I have downloaded new RC3 of IntelliJ IDEA IDE, exported settings from previous version,
IntelliJ IDEA 10.5 (probably this matters). I am new to Scala, so I started
I have an existing Maven project, which I used to create a new IntelliJ
I have created a new IntelliJ project by importing the maven projects. Which worked
When creating a new Java project in IntelliJ IDEA, the following directories and files
I am quite new to intellij and i have loaded in a project that
I used to love using IntelliJ but my new company doesn't spend money on
I have produced a new Maven Project from gae-archetype-gwt from within IntelliJ, and everything

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.