Someone ask me to develop for him an Employee Leaves Application and he can carry it in his flash memory so that he can enter data at home, office or his private company.
I’ve chosen Java and SQLite cos they are free.
Can I create a Java standalone application that it can run in Flash memory when he plug it to a Windows XP platform ?
Thanks.
Someone ask me to develop for him an Employee Leaves Application and he can
Share
Yes. While the Java Runtime does write things into the registry such as “default JRE” .. you can still include a copy on the flash drive and call the
java.execommand directly from thebinfolder.Here’s an example setup. Let’s say the flash drive is mapped to
F:\. Your application is located atF:\YourApp.jarYou copy a Java install from
Program Filesand paste it toF:\JavaYou then write a quick batch script to launch your program using the local java command. The batch file would look something like this:
You could name that
start.bator something similar, which should be obvious enough to your client.