Good afternoon, GeoServer support,
I have tried for several days to download and open GeoServer without any luck.
I am trying to download GeoServer 2.19.2 Platform Independent Binary following the instructions online and this YouTube tutorial, in which my process erred at the 5:45 minute mark. Essentially, I was able to download the package. I have Java v. 8:
But, when I run the command to check with version of Java I am using, I receive this result:
C:\Users\user>java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
So, I am thinking I may have a Java issue, but am unaware how to resolve it.
Secondly, when I try and open the localhost:8080/geoserver on Microsoft Edge, I get this error message:
Hmmm… can’t reach this pagelocalhost refused to connect.
Try:Search the web for localhost
Checking the connection
Checking the proxy and the firewall
Should I be using a different browser?
I tried running the GeoServer batch process as an administrator and I receive this result:
Welcome to GeoServer!
JAVA_HOME: C:\Program Files\Java\jre1.8.0_301
The GEOSERVER_HOME environment variable is not defined.
This environment variable is needed to run this program.Set this environment variable via the following command:
set GEOSERVER_HOME=[path to GeoServer]
Example:
set GEOSERVER_HOME=C:\Program Files\GeoServerStartup of GeoServer was unsuccessful.
Press any key to continue . . .
I follow those instructions to ser the GeoServer home to the main folder, but that doesn’t seem to fix the issue. I tried this process twice, once in the Program Files folder for x86 and once in the main C: drive. Both gave me the same error message.
I will try again tomorrow, but I really am hoping someone from GeoServer might be able to assist me in getting the platform up and running. Thank you, in advance, for any support you can provide.
Regards,
Alaina
···
Alaina Mallette
Planner
NYS Tug Hill Commission
office, (315) 785-2387
cell, (315) 778-0571