I downloaded and installed Java SE Development Kit 7u71 and Apache Tomcat (since JDK7u71 contains JRE, so I didn't download Java SE Runtime Environment 7u71). No problem with Apache Tomcat. Then I downloaded and installed GeoServer 2.6.1 (Windows Installer,Run manually), the wizard found automatically the JRE path: C:\Program Files\Java\jdk1.7.0_71
(I checked it, there is a JRE file in jdk1.7.0_71). After this I tried to run GeoServer,but it didn't work.
I then checked Environmental Variables, there was no JAVA_HOME, so I added it with value C:\Program Files\Java\jdk1.7.0_71
. Then I restarted my computer, GeoServer still didn't work. Then I changed ‘GEOSERVER_DATA_DIR’ system variable to C:\Users[MY USER NAME HERE]\AppData\Roaming\Geoserver\data_dir, and restarted my computer, still, GeoServer did not work.
What could be the problem? How can I make GeoServer work? Any help?