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
Questions tagged [scala]
11 questions
6
votes
0 answers
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=/usr/bin/spark
export PATH=$PATH:SPARK_HOME/bin …
Ali Majed HA
- 175
4
votes
1 answer
Can't uninstall Scala
I installed Scala using cs setup as described on the Scala website: https://www.scala-lang.org/download/
Now I can't uninstall it for some reason. I tried sudo apt-get purge scala and sudo apt-get remove scala but it just outputs "Package 'scala' is…
Tom
- 51
4
votes
1 answer
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
Denis Kuzin
- 181
- 1
- 8
3
votes
1 answer
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
I googled and googled but everything points to very…
Knows Not Much
- 253
1
vote
1 answer
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. Following are the versions of software in my…
SriniShine
- 183
1
vote
1 answer
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 the terminal with sbt:
…
Donbeo
- 511
- 1
- 8
- 27
0
votes
1 answer
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 swing
apt-file update
apt-file search…
yPhil
- 1,637
- 16
- 25
0
votes
1 answer
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 know why. I pinged localhost and it answer, but…
Developus
- 193
- 1
- 11
0
votes
1 answer
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 remove "package"
But since it is downloaded as tar…
Surya
- 3
0
votes
1 answer
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 the following error:
Exception in thread "main"…
A. N. Other
- 207
-3
votes
1 answer
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 mkdir /usr/local/src/scala
sudo tar -xvf…