But the version of Eclipse working with Scala IDE needs JDK 8 to run. The problem is by default, OS X Mojave has Java 11 installed. Unlike recipe blog sites, I prefer to put the instructions first, and then the explanation later - including the stories about how I learned this recipe from my beloved grandfather. Run your new ScalaIDE, and you should have the success in life you have been looking for:.Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java From within the ScalaIDE, enter the subdirectory Content->Eclipse, and open the file eclipse.ini.Īdd the following lines before the line -vmargs:.The easiest way is to right click on the file, and select “Show Package Contents.” Recommendation: Rename this from Eclipse to something like Eclipse-Scala.Open the zip file, then move application where you like (For example - Applications).zip file containing the Eclipse application. As of this article, version 4.7.0 is available. If you install it the usual Mac way (open the DMG file and copy the application to the /Applications folder), you’re going to get the error you see above. Install it with:ġ1.0.2, x86_64: "Java SE 11.0.2" /Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Homeġ.8.0_212, x86_64: "AdoptOpenJDK 8" /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Homeīy Scala-IDE Eclipse, we’re talking about the one from. So we’ll have to install that.Įasiest way to is through brew. Right now, the rest of the world is running in Java JDK 12. It took some time, but I figured out how to fix the error on Scala for Eclipse - and how to properly set up the Scala plugin on modern Eclispe (well, modern as of 2019 June 11th, anyway). So when I started learning how to do Apache Spark development, I followed the instructions at to get Apache Spark up and running on my Mojave based Mac.īut then it came to installing the Scala-IDE from, and - I get this: If it didn’t, those of us in IT wouldn’t have jobs. Few things give greater pleasure than just following some instructions, and then start to see the thing you made just work.īut - technology changes. I love simple, easy to understand instructions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |