Skip to content

Instantly share code, notes, and snippets.

@dakrone
Created November 12, 2011 21:29
Show Gist options
  • Select an option

  • Save dakrone/1361145 to your computer and use it in GitHub Desktop.

Select an option

Save dakrone/1361145 to your computer and use it in GitHub Desktop.
‹ ~/src/clj/cheshire master⚡ › ∴ echo $JAVA_OPTS
-Dfile.encoding=UTF-8 -Dslime.encoding=UTF-8 -Xmx512m -XX:+HeapDumpOnOutOfMemoryError
‹ ~/src/clj/cheshire master⚡ › ∴ lein repl
Error occurred during initialization of VM
java.nio.charset.IllegalCharsetNameException: UTF-8 -Dslime.encoding=UTF-8 -Xmx512m -XX:+HeapDumpOnOutOfMemoryError
at java.nio.charset.Charset.checkName(Charset.java:284)
at java.nio.charset.Charset.lookup2(Charset.java:458)
at java.nio.charset.Charset.lookup(Charset.java:437)
at java.nio.charset.Charset.defaultCharset(Charset.java:579)
at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:37)
at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:94)
at java.io.PrintStream.<init>(PrintStream.java:100)
at java.lang.System.initializeSystemClass(System.java:1109)
lein repl 5.67s user 0.43s system 62% cpu 9.755 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment