LoginSignup
5

More than 5 years have passed since last update.

超小型PC Intel EdisonでScalaを動かす方法

Last updated at Posted at 2014-12-18

実用性はさておき、Edison上ではJVMが動作します。
ここでは、JVMで動作するScalaのプログラミング環境を動かしてみましょう。

まず、Javaをインストールします。

wget --no-check-certificate --no-cookies --header="Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-i586.tar.gz

tar xvzf jdk-8u102-linux-i586.tar.gz
echo "export PATH=$PATH:/home/root/jdk1.8.0_102/bin" >> ~/.profile

ログアウト、再ログイン。

次に、Typesafe Activatorをダウンロード、インストールします。

wget -O typesafe-activator-1.3.10.zip https://downloads.typesafe.com/typesafe-activator/1.3.10/typesafe-activator-1.3.10.zip?_ga=1.29985791.1903815954.1467214906

unzip typesafe-activator-1.3.10.zip
cd typesafe-activator-1.3.10
chmod +x activator
./activator shell
console

これで、ScalaのREPL環境が起動します。

参考:https://communities.intel.com/docs/DOC-23391

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5