Skip to main content



      Home
Home » Newcomers » Newcomers » SSL under IDE problem
SSL under IDE problem [message #21623] Mon, 31 January 2005 12:53
Eclipse UserFriend
Got a strange behavior trying to debug or launch SSL program under eclipse.
Say, I have something as simple as:

URL url = new URL("https://www.verisign.com");
BufferedReader in = new BufferedReader(
new
InputStreamReader(url.openConnection().getInputStream()));
String line = null;
while ((line = in.readLine()) != null) {
System.out.println(line);
}

Can post the whole if need. Under the eclipse it throws:

Caused by: java.security.NoSuchAlgorithmException: Cannot find any provider
supporting RSA/ECB/PKCS1Padding

What is most strange, it WORKS being launched from command line. I have
rechecked that in both cases same VM is installed and used (1.5.01). Worse.
I recompiled it to be used under 1.4.2 and make eclipse use this VM
(Window/preferences/java/installed jre's), and it remained the same -- works
fine with "java test" and throws exception under the IDE. The same .class
code, without any recompilation.

Please help.

10x in advane.
Sergey
Previous Topic:Eclipse Deployment
Next Topic:Eclipse does not start - ExceptionInInitializerError
Goto Forum:
  


Current Time: Tue Jul 15 06:22:38 EDT 2025

Powered by FUDForum. Page generated in 0.07833 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top