Here are talking about nodered as a standalone application, # Packing Node-RED as executable file?
Electron might be a possibility, but will be a full node-red and node.js capable application, therefor not light, but could have many flows integrated represented as endpoints and you just will need to make http request from the java application.
If it works or you find a better solution please let me know.