Skip to content

Instantly share code, notes, and snippets.

@manjuraj
Created February 7, 2014 09:20
Show Gist options
  • Save manjuraj/8859551 to your computer and use it in GitHub Desktop.
Save manjuraj/8859551 to your computer and use it in GitHub Desktop.
Print system properties
import scala.collection.JavaConverters._
val p = System.getProperties
p.keySet.asScala.foreach { k => println(s"$k : ${p.get(k)}") }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment