On Tuesday, 28 September 2021 6:33:36 AM AEST Alaina Mallette wrote: > 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<https://www.youtube.com/watch?v=F7dDVD8WzKo>, in which my process > erred at the 5:45 minute mark. Essentially, I was able to download the > package. I have Java v. 8: [cid:071f1f22-22ce-499e-b0d9-1bfe80baabf4] > 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. The option was -version (with a single dash, not two dashes) in Java 8.
> 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? Its probably not the browser. Its probably not running. > 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\GeoServer > > Startup 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'm not familiar with running it on Windows, but maybe you didn't set the environment variable correctly. If you go to the command prompt, does echo %GEOSERVER_HOME% show the expected path? Is that where geoserver is really installed? Does that setting survive a reboot? If it doesn't, try "edit environment variable" in the Start menu. Make sure you're setting it as a System variable. Brad _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users