Class CORE

java.lang.Object
org.praxislive.ide.core.embedder.CORE

public final class CORE extends Object
Utility class for locating bundled PraxisCORE runtime. A CORE.Locator may be registered in the global lookup to override the default locator. The default locator expects the runtime to be packaged inside a praxiscore directory adjacent to the cluster containing this module. The default locator expects the CORE modules to be inside a mods directory inside the install directory. The default locator expects the launcher to be within a bin directory inside the install directory, and named praxis (Linux/macOS) or praxis.cmd (Windows).
  • Method Details

    • launcherFile

      public static Path launcherFile() throws IOException
      Locate the launcher file.
      Returns:
      path to launcher
      Throws:
      IOException - if launcher not found
    • modulesDir

      public static Path modulesDir() throws IOException
      Locate the modules directory.
      Returns:
      path to modules directory
      Throws:
      IOException - if modules not found
    • installDir

      public static Path installDir() throws IOException
      Locate the CORE install directory.
      Returns:
      path to install directory
      Throws:
      IOException - if CORE installation not found