Stefan Oltmann
10/15/2021, 12:10 PMMyApp.exe hello
results in Failed to launch JVM
Background: My use case is that I registered a custom URI scheme "myapp://" on Windows and I want to pass all that into my EXE to get back the OAuth response.
Is it really possible that the EXE produced by jpackage is not capable of passing cmd line arguments? 🤔Michael Paus
10/15/2021, 5:42 PMStefan Oltmann
10/18/2021, 8:28 AMMichael Paus
10/18/2021, 10:04 AMStefan Oltmann
10/18/2021, 12:46 PMDesktop.getDesktop().setOpenURIHandler { event ->
// do something
}
I kinda solved it on Windows now with build a second native EXE that just writes any parameter to temp file and my main program watches this using Java NIO FileWatcher.