Tuesday 15 January 2013

What is the best way to run a Java program that also has Scala code? -



What is the best way to run a Java program that also has Scala code? -

say have team of 3 2 members working in java , other fellow member working in scala. possible compile , run programme java compiler / jvm or need utilize scala compiler / jvm?

what best way run programme has both java , scala source code? farther elaboration on topic helpful.

scala jvm-based language, scala compiler able understand java programs, not vice versa. if programme has both scala , java files, compiling using scala compiler seems option.

regarding how these programs should run, can assembly result jar, can run jvm in "usual" way. if utilize sbt program, has handy 'assembly' plugin of job you.

java scala jvm

No comments:

Post a Comment