Step

Example

1. All forms of development require the Java SDK 1.8+. You can get it from java.com.

Make sure you get the proper version. Install the SDK not just the Java Runtime environment.

To check if you have the SDK, look in the "lib" directory of the Java install and see if the file tools.jar is there. If there is directory and file by that name then you have the SDK.

To check if you have the proper revision. Enter the command:
Windows and Linux:

java -version

on any command line to see what version you have.

Windows:

C:\>java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8...


Linux:

user@system:/$ java -version
java version "1.8...

2. Development will need the JAVA_HOME environment variable. Set it to the absolute path of the root of the Java Runtime environment that you want UIMA and cTAKES to use.
Windows:
Right-click on Computer > Properties > Advanced System Settings > Advanced tab > Environment Variables button > New button for System variables. Once the values are entered click OK until you are out of the dialog series.
Linux:

export JAVA_HOME=<path>

It is left to the Linux user to make environment variables permanent in their development environment.

Windows:


Linux:

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
  • No labels