Setting Up Java for the Bundled Installation

If you install the Apache/PHP/Tomcat bundle and choose Java as the development environment, you must also perform the following steps:

To install Java

  1. Download the JDK from java.sun.com.
  2. Install using the default installation instructions.
  3. Edit the Apache httpd.conf file. This is located in

    C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\Apache2\conf\

    Replace localhost with the name or IP address of your server plus the port number in the following lines:

    Redirect /mapserver2016/mapviewerajax/
    http://<machine name>:8008/mapserver2016/mapviewerjava/ajaxviewer.jsp
    
  4. Restart Apache.
  5. Set the environment variable JAVA_HOME to the root directory of your Java installation. For JDK 6.0, this is

    C:\Program Files\Java\jdk1.6.0_10

    Different versions of the JDK will be installed in different locations.

  6. To start Tomcat, go to the Tomcat bin directory and run startup.bat.

    For the default installation, Tomcat is installed in the following location:

    C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2016\Tomcat\