Jose Cabrera Zuniga Jose Cabrera Zuniga - 3 years ago 102
Linux Question

in Scala: not able to fin a class in Linux but in Windows for forName

I am writing Scala code. In windows it is working:


where Foo is a Scala class. However, in Ubuntu Linux this is not working. Any ideas?

Answer Source

Those look suspiciously like common directory names.

Probably your Linux class path includes a directory like opt or user that is taken as a package name.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download