eclipse中scala project导出成普通jar包,在命令行运行方法(windows已安装scala):
java -cp .;C:\scala\lib\scala-library.jar;D:\helloworld.jar com.vic.scala.Hello
Hello World!
eclipse中scala project导出成普通jar包,在命令行运行方法(windows已安装scala):
java -cp .;C:\scala\lib\scala-library.jar;D:\helloworld.jar com.vic.scala.Hello
Hello World!