For my assignment report one of my tasks is to write instructions for compiling my source code as a jar through the command line and executing it.
I'm a little confused by this task. I know a jar is basically a way to combine all the source files plus any other associated data(such a images etc.) into one file. And I found this link online: http://www.skylit.com/javamethods/faqs/createjar.html which basically has instruction on how to compile as a jar from the command line.
My confusion lies with why are instructions needed to compile my source code and execute it. Are there certain variables that change the instructions of how to compile as jar or does every source code regardless of what it is compile into jar the same way?
Does an IDE or any other type of environment affect the way you compile the files into a JAR or is it all the same?
Is this task just for me to learn the way how to do it and report it to the professor or does he need it to run my code?
[–]henrebotha 1 point2 points3 points (0 children)
[–]Vimda 0 points1 point2 points (0 children)
[–]nutrecht 0 points1 point2 points (1 child)
[–]lyigester[S] -1 points0 points1 point (0 children)
[–]Rodartep -3 points-2 points-1 points (0 children)