Skip to content

Instantly share code, notes, and snippets.

@dacc
Created November 15, 2010 23:13
Show Gist options
  • Save dacc/701151 to your computer and use it in GitHub Desktop.
Save dacc/701151 to your computer and use it in GitHub Desktop.
{dan@d-128-95-10-133 ~/proj/ovaimp}$ ls lib/libJAUIModel.jnilib
lib/libJAUIModel.jnilib
{dan@d-128-95-10-133 ~/proj/ovaimp}$ scala
Welcome to Scala version 2.8.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_20).
Type in expressions to have them evaluated.
Type :help for more information.
scala> :cp lib
Added '/Users/dan/proj/ovaimp/lib'. Your new classpath is:
.:/Users/dan/proj/ovaimp/lib
scala> ClassLoader.getSystemResource("libJAUIModel.jnilib")
res0: java.net.URL = null
scala>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment