Demo Java application runnable from a DVD -


I want to give some demo copies of the Java application to a client on a DVD. Does this mean understanding a pre-installed JRE and Java application on a DVD, so that they can only run it by clicking?

Besides, if someone has done this, then what is your opinion on this? In fact you can easily put a JRE in a directory of the DVD.

Then you can start an application with a .bat file that runs a command such as:

  jerein \ bin \ java .exe -jar Main. George   

(If your Jar and JR folders are in the same directory)

Be careful about one thing: you already know What is the drive letter of the DVD, so that you have the relative path in your .bat file to Jere and your Jar (or early class).

Comments