Packaging Java applications for the Windows/Linux desktop computer
I am creating an application in Java for the desktop computer making use of the Eclipse SWT collection for GUI providing. I assume SWT aids Java overcome the largest difficulty for approval on the desktop computer: particularly giving a Java application with a regular, receptive user interface that resembles that coming from any kind of various other application on your desktop computer. Nonetheless, I really feel that product packaging an application is still a concern.
OS X natively gives a very easy device for covering Java applications in indigenous application packages, yet generating an application for Windows/Linux that does not call for the customer to run a hideous set documents or click a.jar is still a problem. Perhaps that is not such a concern on Linux, where the customer is most likely to be a little bit extra technology - savvy, yet on Windows I would certainly such as to have a regular.exe for him/her to run.
Has any person had any kind of experience with any one of the.exe generation devices for Java that are around? I've attempted JSmooth yet had numerous concerns with it. Exists a far better remedy prior to I fracture out Visual Studio and also roll my very own?
Edit: I need to probably state that I am incapable to invest a great deal of loan on a business remedy.
Maybe you need to have a look at IzPack. I developed a really wonderful installer some years earlier and also I would certainly wager that they are still boosting it. It permits the installment of docs, binaries and also a clickable link to start the application IIRC .
Have you taken into consideration creating a tiny program in C/C+npls that simply calls
CreateProcess to start up the java VM with the container (or class) documents?
You can get Visual C++ Express and also created the start-up program rather conveniently. This would certainly make it very easy to add a pleasant symbol too.
Another alternative I was taking into consideration: as opposed to creating an indigenous launcher from square one, Eclipse features the resource code for its very own launcher, and also this can probably be repurposed for my application.
It is an embarassment that Sun never ever consisted of anything comparable in the JDK.