Question

I have created a Java Maven Build Hibernate 2.0 Application with Eclipse.

I want to create .exe Installer for this project. Is there any way that I can make .exe app. and then use this .exe to run this .exe project. Did I need to fix Database? like hibernate stuff? or any other issue, please also give me your expert opinion.

Was it helpful?

Solution

Well, it is unnecessary to make .exe from your project. However for convenience you can use a so called "launcher" to invoke the JVM for you.

Two examples:

Most Java programs can be designed not to need an installer. See Tomcat, Glassfish, Eclipse for example. If you need specific installation process, maybe you should consider writing an Ant script (this is an xml file that can be run with a tool, very easy to write install processed in it.)

The database setup can be the only tricky step, but maybe a simple configuration file containing the JDBC url and login data can be enough.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top