- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
I have a jar file that contains some Java classes. How do I tell scala to look in this jar file?
Created by admin on 2008-07-28.
Updated: 2008-07-28, 17:20
As with Java, you can set a -classpath
argument:
/tmp> scala -classpath <jarfile>
Alternatively you can set the CLASSPATH
environment variable to point to the jar file.