@@ -35,23 +35,26 @@ finished indexing the project.
3535
3636> The ` sourcegraph/scip-java ` Docker image is made available for convenience at
3737> the cost of performance. The ` sourcegraph/scip-java ` image is a big download
38- > because it includes pre-installed versions of Java 17 and Java 21 .
38+ > because it includes pre-installed versions of Java 17, Java 21, and Java 25 .
3939> The ` sourcegraph/scip-java ` image has slow performance because it needs to
4040> download all external dependencies of your codebase on every invocation.
4141>
4242> For better performance, we recommend using your own Docker image together with
4343> the [ Java launcher] ( #java-launcher ) option.
4444
45- Java 17 is the default Java version in the ` sourcegraph/scip-java ` Docker image.
46- Use the following commands to use a different JVM version:
45+ By default, the ` sourcegraph/scip-java ` Docker image tries Java 21 and falls
46+ back to Java 17. Use the following commands to select a specific JVM version:
4747
4848``` sh
49- # Java 17 (default)
49+ # Java 17
5050docker run -v $( pwd) :/sources --env JVM_VERSION=17 sourcegraph/scip-java:latest scip-java index
5151
5252# Java 21
5353docker run -v $( pwd) :/sources --env JVM_VERSION=21 sourcegraph/scip-java:latest scip-java index
5454
55+ # Java 25
56+ docker run -v $( pwd) :/sources --env JVM_VERSION=25 sourcegraph/scip-java:latest scip-java index
57+
5558```
5659
5760### Java launcher
@@ -196,7 +199,8 @@ com.sourcegraph.scip_java.ScipJava.INSTANCE.printHelp(Console.out)
196199The ` scip-java ` indexer is implemented as a Java compiler plugin that runs as
197200part of your regular compilation in the build tool. By using Java compiler APIs,
198201` scip-java ` is able to generate accurate indexing information for a broad range
199- of Java versions.
202+ of Java versions. The project targets support for the three most recent Java LTS
203+ releases.
200204
201205| Java version | Support | Tracking issue |
202206| ------------ | ---------------------------- | -------------- |
@@ -205,6 +209,7 @@ of Java versions.
205209| Java 11 | ❌ | |
206210| Java 17 | ✅, requires ` --add-exports ` | |
207211| Java 21 | ✅, requires ` --add-exports ` | |
212+ | Java 25 | ✅, requires ` --add-exports ` | |
208213
209214For Java 17 and newer versions, the following JVM options are required:
210215
0 commit comments