Questions tagged [scala]

Scala is a general-purpose programming language principally targeting the Java Virtual Machine. Designed to express common programming patterns in a concise, elegant, and type-safe way, it fuses both imperative and functional programming styles. Its key features are: an advanced static type system with type inference; function types; pattern-matching; implicit parameters and conversions; operator overloading; full interoperability with Java; concurrency

Filter by
Sorted by
Tagged with
1
vote
0answers
520 views

Not able to install Scala 2.13 using apt-get

I am using Ubuntu 18.04 I run the following command sudo apt-get install scala This installs scala 2.11.12 but this is an outdated version. The real version of the programming language is 2.13.0 ...
0
votes
1answer
416 views

Intellij, Postman and curl - not recognize localhost on port 8080

I have a simple rest server in Scala. Run this project via intellij on localhost:8080. I tried to send POST or GET request into this server via postman and curl, but it cannot connect with it, don't ...
2
votes
1answer
1k views

How to add support of scala syntax highlighting in VIM?

How to configure VIM to be able to highlight scala language (.scala files extension)? Current VIM configuration (.vimrc file): :syntax on
-3
votes
1answer
713 views

tar “no such file or directory” error during Scala installation

I followed these steps to download and install scala but faced some issues. Install Scala First download scala-2.12.1.tgz from the scala site Then run the following commands in the terminal sudo ...
5
votes
0answers
2k views

Error while trying to run spark shell

I have followed this manual to run spark on my Ubuntu 16.04. I have downloaded Spark 2.3, Java 9 and Scala 2.12.5. In my /.bashrc: export JAVA_HOME=/usr/local/java/jdk-9.0.1 export SPARK_HOME=/...
0
votes
1answer
246 views

How can Scala IDE be uninstalled totally

I have installed an eclipse IDE with scala nature. And it is called the Scala-IDE from scala-ide.org. How can I uninstall Scala IDE on ubuntu? I know that If it is a package we can by sudo apt-get ...
0
votes
1answer
609 views

Running the scala interactive shell from the command line

I just installed scala on Ubuntu scala -version Scala code runner version 2.11.6 -- Copyright 2002-2013, LAMP/EPFL but when I try to run the scala command for an interactive shell session I have ...
0
votes
1answer
209 views

Installing Spark on Hadoop 2.5

I'm running Hadoop on Ubuntu on a Oracle VM on Windows 7. I'm trying to install Spark on an existing Hadoop installation. For demonstration purposes I do not want to change the existing Hadoop version....
0
votes
1answer
160 views

Where is scala-swing.jar in Ubuntu 16? It was in Ubuntu 14

For the life of me, I can't locate a package containing the scala-swing.jar file anywhere in the Ubuntu repositories. What I tried: sudo apt update apt search scala-swing apt search scala | grep -i ...
1
vote
1answer
1k views

scala ide (eclipse) and sbt project

I am using the last version of the scala ide eclipse http://scala-ide.org/ Scala IDE build of Eclipse SDK Build id: 4.0.0-vfinal-20141216-1226-Typesafe I have a project that I am able to run from ...