Skip to content

Instantly share code, notes, and snippets.

@metasim
Created September 10, 2013 17:33
Show Gist options
  • Save metasim/6512806 to your computer and use it in GitHub Desktop.
Save metasim/6512806 to your computer and use it in GitHub Desktop.
Fragment for setting the JDK path for sbt-javafx plugin.
JFX.devKit := {
System.getProperty("os.name").toLowerCase match {
case w if w.startsWith("win") => JFX.jdk("C:/Program Files/Java/jdk1.7.0_25")
case _ => JFX.jdk(javaHome.value.toString)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment