best way is, not at all...
as Masijade pointed out, if you want a click-and-run program, you're better of with a jar-executable. this way, you get what you want, without forcing the users of your program to use Windows as operating system.
but ... I once had to create an exe, simply because for some tasks, windows will accept exe files and not jar files.
I would suggest NativeJ for that, but if you can avoid creating .exe, don't create one, a jar-file is sufficient in most cases
the best way to create a .bat file which is similar to exe .First create a jar file.n then i same location where your jar file is stored create a notepad file with .bat extension
then write the following code in notepad.
java.exe -cp l.jar;. splashfrm
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.