Hi,
My project uses SSHJ to issue some commands on remote server. All runs under Win10x64, OpenJDK11. It works perfectly in Debug and Release modes. However, when I try to make standalone package from IDE it seems that it can't find SSH external encryption libs or something wrong else happens there. I have set #MergeLibraries: False and placed all required libs listed in compilation window into \libs folder under \build.
Output is:
I suspect that I made some kind of dumb mistake but unfortunately can't find which one...
My project uses SSHJ to issue some commands on remote server. All runs under Win10x64, OpenJDK11. It works perfectly in Debug and Release modes. However, when I try to make standalone package from IDE it seems that it can't find SSH external encryption libs or something wrong else happens there. I have set #MergeLibraries: False and placed all required libs listed in compilation window into \libs folder under \build.
B4X:
#Region Project Attributes
#MergeLibraries: False
#AdditionalJar: slf4j-api-1.7.25
#AdditionalJar: sshj-0.23.0
#AdditionalJar: eddsa-0.2.0
#AdditionalJar: bcprov-jdk15on-159
#AdditionalJar: slf4j-nop-1.7.25.jar
#MainFormWidth: 230
#MainFormHeight: 50
#End Region
Output is:
B4X:
net.schmizz.sshj.transport.TransportException: Unable to reach a settlement: [diffie-hellman-group1-sha1, diffie-hellman-group-exchange-sha1] and [curve25519-sha256, [email protected], ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256, diffie-hellman-group14-sha1]
at b4j/net.schmizz.sshj.transport.Proposal.firstMatch(Unknown Source)
at b4j/net.schmizz.sshj.transport.Proposal.negotiate(Unknown Source)
at b4j/net.schmizz.sshj.transport.KeyExchanger.gotKexInit(Unknown Source)
at b4j/net.schmizz.sshj.transport.KeyExchanger.handle(Unknown Source)
at b4j/net.schmizz.sshj.transport.TransportImpl.handle(Unknown Source)
at b4j/net.schmizz.sshj.transport.Decoder.decode(Unknown Source)
at b4j/net.schmizz.sshj.transport.Decoder.received(Unknown Source)
at b4j/net.schmizz.sshj.transport.Reader.run(Unknown Source)
I suspect that I made some kind of dumb mistake but unfortunately can't find which one...