Skip to content

Tag: java

Java MSI silent installer

Hello i’m having issues with this line of code I been working on, for some reason is not working anymore I’m trying to invoke the MSI installer silently and wait till it’s done so I can execute next line of code I had it working but now is not, I tried executing start-process and using the -…

Bouncy Castle Java PGP encryption & decryption

I am trying to implement PGP encryption in Java using Bouncy Castle, also using some of the examples provided by them. But if I try and decrypt the message I just encrypted, it does not work. The keys and the decryption method seem to be ok, because I can encrypt using an external tool (link) and then success…

Set with Optional

I have this code: I want to replace this code to this: and map this field from myClass to myClass2 How i can do it? Answer Did you mean to use: For mapping I would suggest to read about MapStruct, it is a good tool.

Nifi Migration Required for blank Sensitive Properties Key

I’m using nifi 1.14.0 in container where I’m experiencing this problem when I restart nifi. Migration Required for blank Sensitive Properties Key and in my file nifi.properties can someone help me? Answer all I found so far is this nifi issue here. If you find a nice workaround or simple solution …