Hi when I try to start glassfish 5 in ..\glassfish\bin with the command asadmin start-domain i get this error :
Waiting for domain1 to start .Error starting domain domain1. The server exited prematurely with exit code 1. Before it died, it produced the following output:
Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file)
I think there same problem inside the asadmin.bat with this comand %JAVA% -jar "%~dp0..\glassfish\lib\client\appserver-cli.jar" %*
But can´t figure out what is wrong in my pc
I have a clean installation ( I have removed all java´s and install this new version )of java jdk1.8.0_181 and jre1.8.0_181