Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk17 Public archive

Commit

Permalink
Renames serverDir to vmDir.
Browse files Browse the repository at this point in the history
  • Loading branch information
mychris committed Jun 28, 2021
1 parent 84b2354 commit 71e0e5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ public static void main(String[] args) throws IOException {
Map<String, String> env = pb.environment();

String libDir = Platform.libDir().toString();
String serverDir = Platform.jvmLibDir().toString();
String vmDir = Platform.jvmLibDir().toString();

// set up shared library path
String sharedLibraryPathEnvName = Platform.sharedLibraryPathVariableName();
env.compute(sharedLibraryPathEnvName,
(k, v) -> (v == null) ? libDir : v + File.pathSeparator + libDir);
env.compute(sharedLibraryPathEnvName,
(k, v) -> (v == null) ? serverDir : v + File.pathSeparator + serverDir);
(k, v) -> (v == null) ? vmDir : v + File.pathSeparator + vmDir);

System.out.println("Launching: " + launcher + " shared library path: " +
env.get(sharedLibraryPathEnvName));
Expand Down

0 comments on commit 71e0e5b

Please sign in to comment.