Skip to content

Commit

Permalink
🎨 Print out the Java version, helping diagnose chosen startup arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFlash787 committed May 15, 2023
1 parent f4b67a8 commit 725de3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import { runServerProcess } from './helper/process'
const { app } = setupConfiguration()

const operatorDir = ensureDirExists(`${app.serverPath}/.operator`)

const javaVersion = getJavaVersion()
sendMessage(`Running Java ${javaVersion}`)

const jmxAuth = setupJMXAuth(app.docker.user, operatorDir, app.jmx)

setupEULA(app.serverPath)
Expand Down

0 comments on commit 725de3e

Please sign in to comment.