Chapter 6. Installation and setup guidelines





Before you start EDT, ensure that you have the required Java version installed (see System requirements). Use the following command-line command:

>java -version 
 
java version "1.8.0_73" 
Java(TM) SE Runtime Environment (build 1.8.0_73-b02) 
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode) 

In this example the Java version is 1.8u73 for a 64-bit operating system. If your Java version is earlier than the one specified in the system requirements, install one of the required versions. Note that Java bitness must match the operating system bitness and EDT bitness.

If the command that determines Java version returns an error, Java is not installed on your computer.

You can download Java from the official website: http://www.oracle.com/technetwork/java/javase/downloads/index.html. To install Java, follow the installation instructions provided by Oracle. EDT can run on both JDK and JRE. The minimum required option is JRE.

After you install Java, perform the initial setup:

  • On Windows:
  • Set the environment variable JAVA_HOME to the installation directory of the Java version that you will use to run EDT.
  • Add the path to the bin subdirectory of Java installation directory to the PATH environment variable.
  • On Linux:
  • Set the environment variable JAVA_HOME to the installation directory of the Java version that you will use to run EDT.
  • If you have multiple Java versions installed on your computer, set the Java version that you will use to run EDT as the default one (use the update-alternatives command).

After the installation and setup, restart your computer. Then check that the required Java version is the default one (use the java -version command).

The amount of memory allocated to Java is specified in file 1cedt.ini, which is located in the EDT installation directory (the  -Xmx parameter). For example, to allocate 4GB of memory, write -Xmx4096m. The value that you specify in this parameter must not exceed the total amount of RAM available on your computer.

Note that on 32-bit systems  -Xmx values greater than 3072m (3 GB) do not make sense.


Comments
0
Add comment