Babbler library compile for JRE 1.7.

Issue #126 wontfix
Jacques van der Merwe created an issue

Hi I just want to know if it is possible to compile the Babbler library for JRE 1.7. I have a server instance which only runs on JRE 1.7 and cannot upgrade that to 1.8 without the vendor support (IBM).

I currently use Babbler 1.7.4 jar files

thanks

Jacques

Comments (8)

  1. Christian Schudt repo owner

    I am sorry, the current version only compiles and runs with Java 8. Going back is impossible, to many Java 8 things are in the code: Lambdas, java.time, CompletableFuture.

    There's an old branch (version 0.5) which runs with Java 7, but I won't support it.

  2. Christian Schudt repo owner

    Apart from that, this library is not designed or optimized to run in a server environment, although it would probably work depending on your usage. But note that the library creates threads.

  3. Christian Schudt repo owner

    It should happen when the remote server doesn't reply with stream features. Maybe a firewall issue? It seems like you can connect, but no XMPP traffic can flow through the network.

  4. Jacques van der Merwe reporter

    Thanks Christian, its all intranet traffic but I will try to disable my laptop firewall.

  5. Christian Schudt repo owner

    You can also try enable debugging which logs the XMPP traffic to System.out:

    XmppSessionConfiguration configuration = XmppSessionConfiguration.builder()
                            .debugger(ConsoleDebugger.class)
    
  6. Log in to comment