title: How do I fix UnsupportedCharsetException in Eclipse Kepler/Luna with Jython/PyDev?
body: <p>Example code:</p>
  
  <pre><code>from java.lang import System
  
  if __name__ == '__main__':
      [System.out.print(x) for x in "Python-powered Java Hello World from within a List-Comprehension."]
  </code></pre>
  
  <p>Annoying output:</p>
  
  <pre><code>console: Failed to install 'org.python.util.JLineConsole': java.nio.charset.UnsupportedCharsetException: cp0.
  console: Failed to install 'org.python.util.JLineConsole': java.nio.charset.UnsupportedCharsetException: cp0.
  Python-powered Java Hello World from within a List-Comprehension.
  </code></pre>
  
  <p>I've tried the solution described <a href="http://bugs.jython.org/issue2222" rel="nofollow noreferrer">here</a> and <a href="http://8thstring.blogspot.com.br/2014/11/console-failed-to-install.html" rel="nofollow noreferrer">here</a>. Both solutions failed miserably (I've added the -Dpython.console.encoding=UTF-8 argument to the JVM and the PyDev interactive console).</p>
  
  <p><a href="https://stackoverflow.com/questions/28044832/keep-getting-unsupportedcharsetexception-in-eclipse">There's also another question about it here from 4 months ago</a>, and no one answered it. So, how do I fix it?</p>
  
  <p>EDIT: I've just installed the new Eclipse Luna, installed PyDev with Jython, and the same thing happens.</p>