REPL based application will fail with initialization error of REPL if its jar file name has no extension '.jar' or '.zip'.
import scala.tools.nsc.Settings
import scala.tools.nsc.interpreter.shell.{ILoop, ShellConfig}
object ReplTestMain extends App {
println("test")
val settings = new Settings
settings.usejavacp.value = true