banner image of microscope objective

SmartCapture 4 Installation

  1. Install Java 17 or newer for your platform from Java JVM - GraalVM. Follow the instructions to set up the Path and JAVA_HOME environment variables. When this is completed, executing the command line ‘java -version’ should produce a message similar to:

    
    openjdk version "17.0.6" 2023-01-17
    OpenJDK Runtime Environment GraalVM CE 22.3.1 (build 17.0.6+10-jvmci-22.3-b13)
    OpenJDK 64-Bit Server VM GraalVM CE 22.3.1 (build 17.0.6+10-jvmci-22.3-b13, mixed mode, sharing)

    After installing the GraalVM JVM, install javascript support by executing the command:

    gu install js
  2. Install the Platform Independent version of ImageJ

  3. Download the SmartCapture 4 ImageJ Plugin and copy this into the ImageJ plugins folder

  4. If you will be using a Hamamatsu camera download and install Hamamatsu Camera Support

If you are installing GraalVM in a system directory for all users, it maybe necessary to execute these commands as administrator. On Windows that means selecting "Command Prompt" from the start menu and selecting run as administrator.

Linux Installation

  • Install the ImageJ platform independent version into the folder ~/Applications/SmartCapture4

  • Copy the SmartCapture 4 ImageJ Plugin SC4_.jar file into the ImageJ plugins directory.

  • Create a file called SmartCpture4.desktop with the content below and located in the ~/.local/share/applications directory. Edit the contents to refer to the installed JVM and your own home directory.

[Desktop Entry]
Name=SmartCapture4
# Edit the next two lines with your own home directory location
Path=/home/michael/Applications/SmartCapture4
Icon=/home/michael/Applications/SmartCapture4/SmartCapture4.icns
Exec=/usr/lib/jvm/graalvm-ce-java17-22.3.1/bin/java -Djava.library.path=. -jar ij.jar
Type=Application
StartupNotify=false
Terminal=true
Comment=SmartCapture 4 Computer Assisted Microscopy
GenericName=Capture

Windows Installation

  • Install the ImageJ platform independent version into a folder of your choice

  • Copy the SmartCapture 4 ImageJ Plugin SC4_.jar file into the ImageJ plugins directory within the ImageJ folder.

Resetting Preferences

There is a known bug that if the location of the SC4 Case root directory is not available (because it has been set wrongly or because it can’t be found on the network) SC4 will fail to produce a dialogue allowing you to select a case.

You can reset the settings for this as follows:

Windows

  • Open Windows Registry Editor

  • Select Find from the Edit menu

  • Type “biz.dsuk.dslib.fxcontrols” (can deselect Values and Data to speed up search)

  • delete key biz.dsuk.dslib.fxcontrols./Case/Chooser