Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#34850 closed defect (fixed)

scala210 @ - No such file or directory when running scala-2.10

Reported by: paul@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: brett@…
Port: scala210


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 @
  scala29 @2.9.1_0 (active)
  scala210 @ (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:
	at Method)
	at java.lang.ClassLoader.loadClass(
	at sun.misc.Launcher$AppClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(

Change History (3)

comment:1 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: brett@… added
Owner: changed from macports-tickets@… to blair@…

comment:2 Changed 8 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

This is an issue with the shell scripts in the upstream tarball, see . The new M4 release which I just updated to in r94279 fixes this.

comment:3 Changed 8 years ago by blair (Blair Zajac)

BTW, you can use port installed \*scala\* instead of the grep and don't need to be root to run it.

Note: See TracTickets for help on using tickets.