Share

Setting Up Java for the Bundled Installation

Product Documentation

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

  • Install the Java JDK.
  • Set up redirections for Apache.
  • Set JAVA_HOME
  • Start Tomcat.

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 2014\Apache2\conf\

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

    Redirect /mapserver2014/mapviewerajax/
    http://<machine name>:8008/mapserver2014/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 2014\Tomcat\


Was this information helpful?