mirror of https://github.com/apache/lucene.git
LUCENE-10287: Fix startup script of module enabled Luke to pass jdk.unsupported as module (#517)
This commit is contained in:
parent
459388cfe1
commit
9cb16df215
|
@ -17,5 +17,5 @@
|
|||
|
||||
SETLOCAL
|
||||
SET MODULES=%~dp0..
|
||||
start javaw --module-path "%MODULES%\modules;%MODULES%\modules-thirdparty" --add-modules org.apache.logging.log4j --module org.apache.lucene.luke
|
||||
start javaw --module-path "%MODULES%\modules;%MODULES%\modules-thirdparty" --add-modules jdk.unsupported,org.apache.logging.log4j --module org.apache.lucene.luke
|
||||
ENDLOCAL
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
|
||||
MODULES=`dirname "$0"`/..
|
||||
MODULES=`cd "$MODULES" && pwd`
|
||||
java --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --add-modules org.apache.logging.log4j --module org.apache.lucene.luke
|
||||
java --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --add-modules jdk.unsupported,org.apache.logging.log4j --module org.apache.lucene.luke
|
||||
|
|
|
@ -27,7 +27,7 @@ java -jar ${luke.cmd}
|
|||
or, using Java modules:
|
||||
|
||||
```
|
||||
java --module-path . --add-modules org.apache.logging.log4j --module org.apache.lucene.luke
|
||||
java --module-path . --add-modules jdk.unsupported,org.apache.logging.log4j --module org.apache.lucene.luke
|
||||
```
|
||||
|
||||
Happy index hacking!
|
||||
|
|
Loading…
Reference in New Issue