By running the Java archive (JAR) file that contains the distribution image, you install
the application-serving environment, and you are ready to create a Liberty server.
About this task
You can install the Liberty application server
environment by running a JAR file as described in this topic, or by using the Installation
Manager.
When you run the JAR file for WebSphere® Application Server to install the Liberty, you must extract the JAR file first. Then, extract
the Liberty JAR file for WebSphere eXtreme Scale. If you use IBM Installation Manager to install WebSphere Application Server Version 8.5 and obtain the Liberty, then you must use Installation Manager to also
install WebSphere eXtreme Scale.
This task supports the following editions:
- WebSphere Application Server Liberty Core
- WebSphere Application Server, Base and Developer editions
- WebSphere Application Server, Network Deployment
- WebSphere Application Server for z/OS
For download information for the Liberty
application-serving and data caching environments, see the WASdev community downloads page.
Procedure
-
Extract the WebSphere Application Server
Liberty distribution image to your preferred
directory.
All the application server files are now stored in subdirectories of the wlp
directory.
- Optional:
Set the
JAVA_HOME
property for your environment.
The Liberty
profile requires a JRE in which to run. It does not share the JDK or JRE that the WebSphere Application Server full profile uses. You can specify the JDK
or JRE location by using the JAVA_HOME property in the
server.env file, as described in Customizing the Liberty environment. On Linux® or UNIX systems, you
can instead set JAVA_HOME in the user .bashrc file, or
append the JDK or JRE path to the PATH environment variable. On Windows systems, you can instead set JAVA_HOME as a
system environment variable, or append the JDK or JRE path to the PATH system
variable.
For example, on Windows systems you
can use the following commands to set the
JAVA_HOME property, and to add the
Java™
/bin directory to the
path:
set JAVA_HOME=C:\Progra~1\Java\JDK16
set PATH=%JAVA_HOME%\bin;%PATH%
-
Install OSGi blueprint Liberty features that
support deployment of OSGi applications.
WebSphere eXtreme Scale requires the blueprint-1.0 and wab-1.0 features,
which depend on the
Liberty runtime environment. These
features might not be installed by default. Therefore, run the following lines of code to install
these missing features:
bin/installUtility install blueprint-1.0 --when-file-exists=ignore
bin/installUtility install wab-1.0 --when-file-exists=ignore
-
Download WebSphere eXtreme Scale for Developers -Liberty.
Extract the
WebSphere eXtreme Scale distribution image to the directory
where you extracted the
wlp-edition-8.6.0.0.jar
file.
This image is
packaged as a JAR file called
wxs-wlp_8.6.0.0.jar
in V8.6 and
wxs-wlp_8.6.0.x.jar
in V8.6 fix packs. To extract the
distribution image, run the JAR file; for example, run the following command, depending on your
version of
eXtreme Scale:
java -jar wxs-wlp_8.6.0.2.jar
java -jar wxs-wlp_8.6.0.3.jar
java -jar wxs-wlp_8.6.0.x.jar
Results
If you extract
the wxs-wlp_8.6.0.x.jar
file for V8.6 fix packs, eXtreme Scale is installed on top of the WebSphere Application Server
Liberty when you extract both JAR files to the same
directory.