Ebaneck / Epita-Java-Project

Introduction to java course project
0 stars 1 forks source link

packaging the executable jar file #8

Open Ebaneck opened 6 years ago

Ebaneck commented 6 years ago

To make the procedure of moving our application from one pc to another, i am proposing writing a windows bat file that will execute the compile iamcore.jar file.

Care needs to be taken as to how this is done since we need to provide a means to pass the vm arguments which are a necessity for the application to run properly.

I have this in mind as the proposal

**``` echo OFF cd "C:\Users\ceban\Desktop\" java -jar -Dconf=testConfiguration.properties iamcore.jar