In some Windows environments, the use of environment variables to represent classpaths can cause Java Applications to fail to start. This is possibly due to environment variable resolution, but also system security settings.
By using -cp instead of environment variables we are ensured that once a cmd.exe has been started, we should be able to execute "java -cp", where as we might not be able to set environment variables.
In some Windows environments, the use of environment variables to represent classpaths can cause Java Applications to fail to start. This is possibly due to environment variable resolution, but also system security settings.
By using -cp instead of environment variables we are ensured that once a cmd.exe has been started, we should be able to execute "java -cp", where as we might not be able to set environment variables.