I have created a Java Swing program which uses a SQLite database to store the hardware details of the pc. When I run that program as a java application, hardware details get stored in the DB. I have to generate an exe of that java program. I created an exe using ant build, launch4j and Innosetup. I added the DB(sys_data.db) in launch4j in classpath. But when I run that exe, the hardware details doesn't stored in the DB.
Any suggestion please?