MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / NewOracleJRE

Function NewOracleJRE

src/java/jres/oracle.go:9–13  ·  view source on GitHub ↗

NewOracleJRE creates a new Oracle JRE provider.

(ctx *common.Context)

Source from the content-addressed store, hash-verified

7
8// NewOracleJRE creates a new Oracle JRE provider.
9func NewOracleJRE(ctx *common.Context) *OracleJRE {
10 b := newBaseJRE(ctx, "Oracle JRE", "oracle", []string{"jdk", "jre"}, nil, "")
11 b.extraFinalizeOpts = func() string { return "-XX:ActiveProcessorCount=$(nproc)" }
12 return &OracleJRE{b}
13}

Callers 2

RegisterStandardJREsMethod · 0.85

Calls 1

newBaseJREFunction · 0.85

Tested by

no test coverage detected