How To: Install REPL without Eclipse, JRE and other stuff
Default Installation
Currently, the Datical installer (GUI and headless) perform a full install of all pieces including JRE and Eclipse UI. Even if in your autoInstall XML file you set your attributes to "false", installer will still go ahead and install all of those pieces. By default, Datical will install these six (6) pieces:
- Datical DB UI (Eclipse)
- Datical DB CLI (hammer)
- Datical DB License Manager
- Java Runtime (jre)
- Oracle Instant Client
- EDB Client
Then you will perform "hammer installDrivers ..." to install database drivers for repl. All together, this will take up 650MB on your disk.
Pieces needed for REPL (CLI)
For REPL to work, it does not need all of the above mentioned pieces.
To reduce the footprint, post install, you can delete these directories from the top level Datical install directory:
- configuration
- edbplus (note: don't delete if connecting to EnterpriseDB databases)
- features
- img
- instantclient (note: don't delete if connecting to Oracle databases)
- jre (note: see Caveat #2)
- licenses
- p2
- plugins (note: there is also a “plugins” subdirectory in /repl directory which is needed for REPL)
Caveat #1: Oracle and EDB usage
If you are connecting to Oracle databases or Postgres EnterpriseDB (EDB) databases, you will need item #5 and #6 above (Oracle instant client and EDB client).
Caveat #2: Bring your own Java
Your Java needs to be Java 8.
To use your own Java instead of the Datical-provided one (in the jre directory), you can point your JAVA_HOME environment variable to your Java 8 path.
Related content
Copyright © Datical 2012-2020 - Proprietary and Confidential