I'm trying to achieve the equivalent to this:
java.exe -cp "C:\my_test\my_jar.jar;C:\my_test\lib\*;" com.test.Main
but using an URL like this:
java.exe -cp "http:\\192.168.1.12\my_test\my_jar.jar;http:\\192.168.1.12\my_test\lib\*;" com.test.Main
The error is: Could not find or load main class, but if I look into http:\\192.168.1.12\my_test\my_jar.jar I can see my Main class there. Is there any way I can do this via command line?
P.S: I can reach http:\\192.168.1.12\my_test\my_jar.jar via browser
http://, not http:\\.Could not find or load main class. But if I try to accesshttp:\\192.168.1.12\my_test\my_jar.jarI can see my Main class there