I have tried to respond to you but it seems that the moderators have been unsure of my post for two hours now. Not sure why. At any rate, here is the config file. As for the error message when attempting to run on a non-java machine, it's just the standard jni error. Thanks for trying to assist.
I also tried this (See attached)
nor this (see attachment)
Relative to what? I'm putting the exe on the Desktop. The jre I'm using is on the Desktop in a folder called jartoexe. I have tried (see attachment). Didn't work.
It seems to me that I am putting the Bundled JRE path entry in Launch4j at one folder before the java.exe by virtue of the jre being where I say in that entry: C:\Users\DefaultAccount\Desktop\jar to exe\jre I too copied the bin and lib into that jre folder from my computer.
I meant C:\Users\DefaultAccount\Desktop\jar to exe\jre
A resounding yes. :-) I cannot translate this (from the StackoverFlow entry): The trick here is that the path is not to the java.exe file. The path to the jre is relative to the position of the .exe and it should point to one folder before the java.exe file. I am putting the exe on the Desktop. I have my jar file in a folder called "jar to exe". In the Bundled JRE paths (in Launch4j) I have been putting: C:\Users\DefaultAccount\Desktop\jar to exe\ I gather that this needs to change, but not sure...
So from what your saying, the following is possible to do: If I follow the example in the StackOverflow link you provided above I will be able to distribute this jar files as an exe created by Launch4j (with my icon) to people who do not have java installed on their computer and it will run without the need to install java. If you answer yes, I will get to it.