Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Knowledge about what the cTAKES components do is not supplied by the install instructions. This is found in the cTAKES 3.0 Component Use Guide. There is no training or documentation (except for code comments) on the code itself. You must familiarize yourself with the components and then study the code on your own to be able to extend it.

In order to modify/compile the source code for a cTAKES component, developers must utilize either an IDE, such as Eclipse, or another editor of your choice. Compiles are then performed in the IDE or with Ant. Follow the appropriate sections here depending upon your developer preferences.

...

Step

Example

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

Make sure you get the proper version and 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 a lib
directory and there is a file by that name then you have the SDK.

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

Code Block
languagenone
java -version


on any command line to see what version you have now.

Code Block
languagenone
C:\>java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

2. It is possible that some commands and programs can find the Java
runtime that you want to be used but it is best to set the JAVA_HOME
environment variable. Set the value of JAVA_HOME 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. Keep clicking *OK* Once the values are entered click OK until you are out of the dialog series.
Linux:

Code Block
languagenone
export JAVA_HOME=<path>

...

Step

Example

1. Download and install Eclipse if you don't already have it.

(optional) It is recommended that you start a new workspace to keep your cTAKES projects separate from other work.

No example

2. Find UIMA Eclipse plug-ins.

Help> Install New Software...> Add... button
Set a repository name and this site location

Code Block
languagenone
http://www.apache.org/dist/uima/eclipse-update-site

\\\\\\\
Click OK.

3. Install UIMA Eclipse plug-ins.

Select the UIMA Eclipse tooling and runtime support.
Click *Next >*and finish the install.

Additional help can be found on the Apache site UIMA for Eclipse on apache.org.

Note
titleNote

These install instructions depend upon the installation of these plug-ins.



(optional) Verify the installation of the UIMA Plug-ins. Go to Help> About Eclipse> Installation Details> Plug-ins. You will see a dialog such as that on the right (next cell) with plug-in names starting with "UIMA Eclipse:".


...