How To Set-Up Development Environment For Scala
Update Eclipse for Scala Support
The
simplest way to get started is to download a pre-configured version
of Eclipse by going to the download page. But if Eclipse is already
installed, we can add the Scala plugin using software update site.
For the
Eclipse versions Eclipse 4.4 (Luna) and Eclipse 4.5 (Mars), Scala
2.11.7 version can be downloaded using the following update site:
For this
version of Scala we can use JDK 6, JDK 7, or JDK 8.
Update Eclipse Heap Size to Run Scala
After the
Scala plugin installations are done successfully, check the Eclipse’s
eclipse.ini file for the heap size value. It needs to be changed to
1024 MB or more.
A sample from the eclipse.ini file is shown below, highlighting the heap size value:
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx1024m
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx1024m
No comments:
Post a Comment