I have developed a java project with the vaadin web framework and I want to know if it is possible to generate an .exe so that it acts as a desktop application. I have tried with different applications such as launch4j but none have worked for me and I can’t find a way to achieve it.
I have tried with different applications such as launch4j and electron
If you are Spring Boot, it has a repackage option which is really close to a full fledged exe. You only need java afterwards and “java -jar name.jar” to start the application. (Which could literally be done by a simple bash script)
Technically, there are embedded browsers out there, but I have no idea if they match the features of modern evergreen browsers that are the requirement for Vaadin apps.
Packaging a client-server web application into a desktop application really sounds like a bad approach to me. If you want a desktop application, use a framework designed for that.
and is there a way to at least create a shortcut and run it through the browser but from the desktop?
As I said I’m new with this and I only know how to run it through the IDE.
Thanks
With that I have managed to create a shortcut from which to access the application, but it only works while I have it running from the IDE. How could I make it always available on my localhost?
I’m sorry if these are stupid questions but I can’t find information or the way to do it.