Java crashes on startup with an UnsupportedCharsetException

1

I'm under Windows7/64, recently, everything related to Java stopped working(Netbeans, Jdownloader...) Even if i run the command line:

java -version

i get this exception:

Error occurred during initialization of VM
java.nio.charset.UnsupportedCharsetException

Any idea about the problem?

Cheers.

Marwen Trabelsi

Posted 2013-06-28T15:56:20.003

Reputation: 154

I would simply reinstall the 32-bit and 64-bit installation of Java on your machine. – Ramhound – 2013-06-28T16:01:54.407

Answers

1

I'm pretty sure you're java installation is broken (such that all or critical character sets have been removed), or you changed the default character set on your system to one that doesn't exist or is not recognized by java. I'd start first with reinstalling java, and if that doesn't work then to start looking at the default character set specified by your system or the java properties.

Darth Android

Posted 2013-06-28T15:56:20.003

Reputation: 35 133

OK, i'm trying to reinstall java, i'll come back.. – Marwen Trabelsi – 2013-06-28T16:29:14.503

While i'm accepting the question, Jdownloader is loading :=) – Marwen Trabelsi – 2013-06-28T17:59:24.433