running scala apps with java -jar

后端 未结 5 1999
日久生厌
日久生厌 2020-12-09 02:02

I got some problems with the java. Check it out.

sebastian@sebastian-desktop:~/scaaaaaaaaala$ java -cp /home/sebastian/.m2/repository/org/scala-lang/scala-libr

5条回答
  •  隐瞒了意图╮
    2020-12-09 02:29

    For an executable jar, the classpath should be in the jar's manifest. For help on doing that, look through the answers to Stackoverflow: How to create an executable jar with dependancy jars.

提交回复
热议问题