Code example:
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."]
Annoying conclusion:
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.
I tried the solution described here and here . Both solutions failed (I added the argument -Dpython.console.encoding = UTF-8 for the JVM and PyDev interactive console).
There is another question about it here 4 months ago , and no one answered it. So how can I fix this?
EDIT: I just installed the new Eclipse Luna, installed PyDev with Jython, and the same thing happens.
source
share