I\'m trying to open an URI with Swing that I get above error.
URI
What is the reason and how can I fix it?
When I do it in console everything is OK but
java.awt.Desktop has been introduced in Java 6. Chances are high you're running your code on different JRE versions.
java.awt.Desktop