There are levels of answers to this question.
First, if you really want to leave the code as-is, then yes, you can. Your setup file would need to install a
servlet engine on the client machine, and running the program would entail opening a local web browser and using the localhost domain for navigating the web application. But that is probably a pretty big installation, and could lead to security considerations, so it probably isn't the best thing to do. As a result I would suggest it is a better idea to write up a new UI using desktop UI components (like Swing) and use it to control your application.