I use IntelliJ IDEA 13 CE with Scala plugin 0.38.441. On MacOS 10.10.
but I got this error
how to resolve it. thanks!
Related
New to Scala and I installed Scala using homebrew. When I type scala in terminal, it is giving me the following error:
$ scala
Welcome to Scala 2.13.7 (OpenJDK 64-Bit Server VM, Java 17.0.1).
Type in expressions for evaluation. Or try :help.
/opt/homebrew/Cellar/scala/2.13.7/libexec/bin/scala: line 25: 53932 Illegal instruction: 4 "$#"
What might be the issue and how can I fix? I am using M1 Mac with Big Sur.
It‘s probably https://github.com/scala/bug/issues/12491, though the error message you're seeing is a little different, which I find puzzling.
Assuming that's the problem, then: Scala 2.13.8 will be out soon (target: January 10) with a fix. In the meantime use 2.13.6, or launch 2.13.7 with -J-Dorg.jline.terminal.jna=false (but this may disable some terminal niceties), or use a 2.13.8 nightly build.
brew upgrade scala
Solved the problem.
I have installed sbt plugin version 1.0.4 and I’m trying to import a starter scala project built on Scala 2.12.4. When i try to the import that project, the IntelliJ external model list doesn’t show sbt.
Where am i going wrong?
Thank you in advanced.
Im using a macbook air on OS X El Capitan 10.11.16.
Remove and install the Scala plugin again works for me.
Perhaps try with the latest version of the IntelliJ and the SBT plugin. Hope this helps!
https://plugins.jetbrains.com/plugin/5007-sbt
I have an issue and after many attempts don't know how to resolve it.
I have Java/Maven project with JDK 6 and installed Maven 3.2.5 in Eclipse Luna
Now I'm trying to run clean install command to create ZIP package but getting the following error message:
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ABC: Fatal error compiling: invalid target release: 1.7
Does someone has this issue before and how do you resolve it.?
Could you help me please?
Thanks in advance.
The project you are attempting to compile specifies that the generated bytecode should be for Java 1.7. To do that you have to have a JDK7 or later.
Either change the project to specify 1.6, or upgrade your Java to 1.7. (There is really no reason to still stay on Java 1.6, it is old and obsolete now.)
I have intellij 13 ultimate.
I had scala 2.10.3 installed, and recently upgraded to 2.11 using homebrew.
When I open a sbt project, it may have a different scala version and if it does then it starts to download etc.
Will IntelliJ automatically use the correct compiler for a sbt project once it finishes downloading everything?
I currently have these errors which I'm not sure how to fix:
I'm running Eclipse with RoboVM plugin and I wanted to try IOSDemo sample project described on robovm.org (http://www.robovm.org/docs.html). When creating the project in Eclipse and running it I got following error message.
An internal error occurred during: "Launching IOSDemo".
java.lang.IllegalAccessError: tried to access method java.lang.Object.clone()Ljava/lang/Object; from class soot.toolkits.scalar.LocalSplitter
I found out that it's related to JDK version (I'm running JDK 8.0 ea, build 112). When running on JDK 1.7.0_45 and building the project on cmd line it builds and runs OK.
Is it known problem, is there any workaround or fix? Thanks
This is most probably due to a bug [1] in the recent early access builds of Java8. It looks like the bug was resolved a few days ago but as far as I can see the fix didn't make it into the b113 build. Please use the latest Java7 release or an earlier Java8 EA build until a Java8 build is available with this fix included.
[1] https://bugs.openjdk.java.net/browse/JDK-8026394