Offline Install for Air‐gapped Environments - OpenLiberty/liberty-tools-eclipse GitHub Wiki

Installing Liberty Tools for Eclipse in an offline, air-gapped environment requires that you first setup a mirror of the Liberty Tools repository and required dependencies. The repositories to mirror will generally be:

  1. The Liberty Tools for Eclipse repository
  2. The supported quarterly Eclipse repository
  3. The repositories listed in category.xml

This can be done by using the eclipse executable and running the following commands.

NOTE: The following commands are an example using Liberty Tools for Eclipse version 23.0.12 which supports Eclipse 2023-09. The repositories may be different for other versions of Liberty tools for Eclipse.

Liberty Tools for Eclipse

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/liberty-tools-eclipse/23.0.12/repository/ -destination file:/path/to/your/mirror/directory

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/liberty-tools-eclipse/23.0.12/repository/ -destination file:/path/to/your/mirror/directory

Eclipse 2023-09

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source https://download.eclipse.org/releases/2023-09/202309131000/ -destination file:/path/to/your/mirror/directory

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source https://download.eclipse.org/releases/2023-09/202309131000/ -destination file:/path/to/your/mirror/directory

LSP4MP

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source https://download.eclipse.org/lsp4mp/releases/0.10.0/repository/ -destination file:/path/to/your/mirror/directory

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source https://download.eclipse.org/lsp4mp/releases/0.10.0/repository/ -destination file:/path/to/your/mirror/directory

LSP4Jakarta

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source https://download.eclipse.org/lsp4jakarta/releases/0.2.0/repository/ -destination file:/path/to/your/mirror/directory

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source https://download.eclipse.org/lsp4jakarta/releases/0.2.0/repository/ -destination file:/path/to/your/mirror/directory

JDT.LS.CORE

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source https://download.eclipse.org/jdtls/milestones/1.28.0/repository/ -destination file:/path/to/your/mirror/directory

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source https://download.eclipse.org/jdtls/milestones/1.28.0/repository/ -destination file:/path/to/your/mirror/directory