I have parameters that are passed when executing the .jar of my code, in args
, as in this example:
public static void main(String[] args) {
final File diretorio = new File(args[0]);
final String extencao = "." + args[1];
final String origem = "\"+args[2];
final String destino = "\"+args[3];
I want to know if it is possible for me to define the values I am passing in the command line through Eclipse, without having to change the values of the variables or call separately by the console.