From 9af5aa94d336f85bd27b286967551f75519a3486 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Tue, 29 Apr 2008 15:46:28 +0000 Subject: Fixed jvm/inner test to work on a Java distribu... Fixed jvm/inner test to work on a Java distribution where jre and sdk bin folders are separate. --- test/files/jvm/inner.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/files/jvm/inner.scala b/test/files/jvm/inner.scala index 4e990076f2..612228028c 100644 --- a/test/files/jvm/inner.scala +++ b/test/files/jvm/inner.scala @@ -55,8 +55,9 @@ object Scalatest { private val outputdir = System.getProperty("scalatest.output", "inner-jvm.obj") private val scalalib = System.getProperty("scalatest.lib", "") private val classpath = outputdir + File.pathSeparator + scalalib - private val javacmd = System.getProperty("javacmd", "java") - private val javac = javacmd + "c" + private val javahome = System.getProperty("java.home") + private val javacmd = javahome + File.separator + "bin" + File.separator + "java" + private val javac = javahome + File.separator + "bin" + File.separator + "javac" def javac(src: String, fname: String) { val tmpfilename = outputdir + File.separator + fname -- cgit v1.2.3