Question

I'm writing a program that uses the Twitter4J API to read and respond to tweets on Twitter. So far the program seems to run perfectly on my Acer Aspire 5734Z in both Windows 7 Home Premium 64 Bit and in Arch Linux 64 Bit. However, when I run the same exact program on my Raspberry Pi running Raspbian I encounter the following error:

Jan 04, 2014 12:34:16 AM twitter4j.TwitterStreamImpl info
INFO: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
Jan 04, 2014 12:34:16 AM twitter4j.TwitterStreamImpl info
INFO: Waiting for 250 milliseconds

EDIT: Hold on, weird timestamps, let me check that my Raspberry Pi's time is set right.

EDIT: Nope, that didn't fix it.

Was it helpful?

Solution

I had a similar problem with an application i wrote. It did not work with the oldrr java version 25 but with 45 and simply updating fixed the problem. Maybe that will fix it here, too since some things changed between these versions.

OTHER TIPS

This is most likely a setup problem, although it may be a missing library, I've not seen this problem myself so can't do much for you but I did do some googling and found a couple of similar questions answered here that may help:

Java and SSL - java.security.NoSuchAlgorithmException

Using a self generated key to test java ssl app

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top