scala210 @0.0.2.10.0-M3_0 - No such file or directory when running scala-2.10
Paul-Butchers-MacBook-Pro:~ paul$ uname -a
Darwin Paul-Butchers-MacBook-Pro.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
Paul-Butchers-MacBook-Pro:~ paul$ sudo port installed | grep scala
scala28 @2.8.1_1 (active)
scala29 @2.9.0.1_0
scala29 @2.9.1_0 (active)
scala210 @0.0.2.10.0-M3_0 (active)
scala_select @0.1_1
scala_select @0.1_2 (active)
Paul-Butchers-MacBook-Pro:~ paul$ scala-2.10
/opt/local/bin/scala-2.10: line 15: cd: ../share/scala-2.10/bin/..: No such file or directory
Exception in thread "main" java.lang.NoClassDefFoundError: scala/tools/nsc/MainGenericRunner
Caused by: java.lang.ClassNotFoundException: scala.tools.nsc.MainGenericRunner
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Change History (3)
Cc: |
brett@… added
|
Owner: |
changed from macports-tickets@… to blair@…
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
This is an issue with the shell scripts in the upstream tarball, see https://issues.scala-lang.org/browse/SI-5792 . The new M4 release which I just updated to in r94279 fixes this.