# Open-Liberty **Repository Path**: mirrors/Open-Liberty ## Basic Information - **Project Name**: Open-Liberty - **Description**: Open Liberty 是一个高模块化、快速和高动态性的应用服务器运行时环境 - **Primary Language**: Unknown - **License**: EPL-2.0 - **Default Branch**: integration - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 7 - **Forks**: 2 - **Created**: 2017-09-20 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

title


[![Maven Central](https://img.shields.io/maven-central/v/io.openliberty/openliberty-runtime.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/io.openliberty/openliberty-runtime) [![Container Images](https://img.shields.io/badge/container-images-yellow)](https://openliberty.io/docs/latest/container-images.html) [![Website](https://img.shields.io/badge/website-live-purple.svg)](https://openliberty.io/) [![Stack Overflow](https://img.shields.io/badge/find-answers-blue.svg)](https://stackoverflow.com/questions/tagged/open-liberty) [![Groups.io](https://img.shields.io/badge/ask-groups.io-orange.svg)](https://groups.io/g/openliberty) [![License](https://img.shields.io/badge/License-EPL%202.0-green.svg)](https://opensource.org/licenses/EPL-2.0) [![Twitter](https://img.shields.io/twitter/follow/openlibertyio.svg?style=social&label=Follow)](https://twitter.com/OpenLibertyIO) # Summary A lightweight open framework for building fast and efficient cloud-native Java microservices: * Open Liberty is fast to start up with low memory footprint and live reload for quick iteration. * Simple to add and remove features from the latest versions of MicroProfile and Java EE. * Zero migration lets you focus on what's important, not the APIs changing under you. ## Getting Started ### Launch a sample app using [Maven](https://maven.apache.org/) git clone https://github.com/OpenLiberty/sample-getting-started.git cd sample-getting-started mvn clean package liberty:run Open browser to http://localhost:9080/ and explore the demo application. See [this guide](https://openliberty.io/guides/getting-started.html) to learn how it works. ### Downloads * [Maven Central](https://mvnrepository.com/artifact/io.openliberty/openliberty-runtime) * [Open Liberty website](https://www.openliberty.io/downloads/) * [Docker Hub](https://hub.docker.com/_/open-liberty) ## Usage ### Docker * [This guide](https://openliberty.io/guides/docker.html) demonstrates development using Docker containers. ### Maven * [This guide](https://openliberty.io/guides/maven-intro.html) demonstrates development using the Liberty Maven Plugin. ### Command Line * [This reference](https://openliberty.io/docs/ref/command/) demonstrates the basic server operation commands. ### Open Liberty Docs * [Open Liberty Guides](https://openliberty.io/guides/) * [Reference docs including features, config and API's](https://openliberty.io/docs/) ## Contributing Our [CONTRIBUTING](https://github.com/OpenLiberty/open-liberty/blob/release/CONTRIBUTING.md) document contains details for submitting pull requests. **FYI:** The project recently renamed `master` branch to `release`. More info here: https://github.com/OpenLiberty/open-liberty/wiki/Master-rename-to-Release ### Running a Build 1. Clone the repository to your system. git clone git@github.com:OpenLiberty/open-liberty.git 2. Run a gradle build. Prerequisite - Environment variable `JAVA_HOME` must point to a Java 17 or Java 21 SDK. If setting `JAVA_HOME` to Java 17, you will also need to set `JAVA_21_HOME` to a Java 21 SDK. cd open-liberty/dev ./gradlew cnf:initialize ./gradlew assemble Troubleshooting - If `./gradlew assemble` shows out of memory error, you can increase the memory in `dev/gradle.properties` file. Stop the gradle daemon after you change the memory setting by using `./gradlew --stop`. If it does not help the problem, try cleaning up your maven repository cache (using `rm -rf ~/.m2`) and gradle cache (using `rm -rf ~/.gradle/caches`). 3. Run the unit or FAT tests. `./gradlew test` for unit tests `./gradlew build.example_fat:buildandrun` to run a [FAT project](https://github.com/OpenLiberty/open-liberty/wiki/FAT-tests) **NOTE:** ```./gradlew build``` runs the `assemble` and `test` tasks 4. Perform a local release ```./gradlew releaseNeeded``` **NOTE:** This task releases all projects to the local releaseRepo. The final openliberty zip can be found in ```open-liberty\dev\cnf\release\dev\openliberty\\openliberty-xxx.zip``` ## License Usage is provided under the [EPL 2.0 license](https://opensource.org/licenses/EPL-2.0) See LICENSE for the full details.