[Nix-dev] openjdk cannot run GUI applications in NixOS

Marc Weber marco-oweber at gmx.de
Sat Oct 20 23:35:57 CEST 2012


I've found two more issues with openjdk:

eclipse fails (strange exception message box) - however it also seems to
fail with oraclejdk .. I will bisect soon.

Amazon ec2 tools don't work with openjre:

  desk amazon n%ec2-run-instances --region eu-west-1 ami-732c1407       /home/marc/amazon nixos   
  Unexpected error:               
  javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
          at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
          at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1836)
          at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1794)
          at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1777)
          at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1703)
          at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:90)
          at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
          at java.io.BufferedOutputStream.write(BufferedOutputStream.java:121)
          at java.io.FilterOutputStream.write(FilterOutputStream.java:97)

Maybe there is a way to tell openjre about those trust anchors - I
haven't investigated yet.

I'll post again if I know more details.

Marc Weber


More information about the nix-dev mailing list