Skip to content

Commit

Permalink
Merge pull request #2019 from lift/msf/java-11-minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
farmdawgnation authored Sep 2, 2024
2 parents 802a8a5 + 6e1e98a commit 8bc8f8d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ node_modules
.vscode

# metals
.bsp
.bloop
project/.bloop
project/metals.sbt
Expand Down
2 changes: 1 addition & 1 deletion .java-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8
11
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,22 @@ Because Lift applications are written in [Scala](http://www.scala-lang.org), an

## Getting Started

**Compatibility note:**
As of Lift 3.0, you'll need to be running Java 8 to use Lift. For those using Java 6 or Java 7,
you'll need to use Lift 2.6 until you can upgrade your Java installation.

You can create a new Lift project using your favorite build system by adding Lift as a dependency.
Below we walk through setting up Lift in sbt and Maven.

### A note on Java Compatibility

It's worth noting that the version of Java you're running may change what version of Lift you're
able to run. The following represents our Java compatibility for the recent major releases.

| Lift Version | Java Version |
|--------------|--------------|
|2.6 |Java >= 6 |
|3.0+ |Java >= 8 |
|4.0+ |Java >= 11 |

If you do not have a compatible Java version you will get errors when you try to use the Framework.

### With sbt (new project)

If you're using a recent version of sbt (e.g. 0.13.16), you can create a new Lift application using
Expand Down

0 comments on commit 8bc8f8d

Please sign in to comment.