I just completed my database hospital application and now i'm ready to export it into a JAR file. I palced the DB in the classes subfolder and played with ClassLoader but got nothing!
I used the following code
well, yes, but turning it into an .exe will prevent you from running it 'anywhere', not make it possible to do so. a .jar is a platform independent executable, so just keep that.
also: why putting the db in the .jar?