You can specify the 'jre' through relative path from executable 1. The 'jre' is not wrapped into exe file, there need to be a 'jre' when exe file runs. 2. The 'jre' directory should be copied from installed jre or jdk without modification. 3. If there is a 'jre' directory along with the executable file, the executable will use this 'jre'. 4. If the 'jre' is not in the same folder of the exe file, you can specify it using relative or absolute path. Your directory structure is correct, I could not tell exactly what's wrong, so I list some possible points. You can also contact me through email. reply
1. The 'jre' is not wrapped into exe file, there need to be a 'jre' when exe file runs.
2. The 'jre' directory should be copied from installed jre or jdk without modification.
3. If there is a 'jre' directory along with the executable file, the executable will use this 'jre'.
4. If the 'jre' is not in the same folder of the exe file, you can specify it using relative or absolute path.
Your directory structure is correct, I could not tell exactly what's wrong, so I list some possible points. You can also contact me through email.