Small library which aims at resolving the command used to start the application.
<dependency>
<groupId>io.github.furrrlo</groupId>
<artifactId>JLaunchCmd</artifactId>
<version>1.0</version>
</dependency>dependencies {
implementation("io.github.furrrlo:JLaunchCmd:1.0")
}import io.github.furrrlo.jlaunchcmd.JLaunchCmd;
import java.util.Arrays;
class Main {
public static void main(String[] args) {
final String[] launchCmd = JLaunchCmd.create().getLaunchCommand();
System.out.println(Arrays.toString(launchCmd));
}
}