-
Suggestion
-
Resolution: Fixed
-
None
-
18
-
The installer should always install and use the bundled JRE, even if the server already has an acceptable version of Java installed. This ensures that we run with known-good versions of Java.
Customers that want to use their own JRE can use the zip distribution.
Current behaviour
Bitbucket Server only provides a bundled JRE if Java is not installed or available on the server.
If Java is already available, the default system Java is used and configured to be used in the service ("Java Virtual Machine:" field in the "Java" tab).
- is duplicated by
-
BSERV-9323 Bitbucket installer should not ignore adding the bundled JRE
- Closed
- is related to
-
BSERV-9744 Bitbucket uses system default version of Java even if it is unsupported
-
- Closed
-
- relates to
-
BSERV-12267 Elasticsearch service fails to start
-
- Closed
-
-
BSERV-11365 Installer does not upgrade existing installed Bundled JRE's
-
- Closed
-
-
BSERV-8421 Java update on Windows get Bitbucket Server or Stash services to fail
-
- Closed
-
- supersedes
-
BSERV-11985 Windows installer does not recognize installed JDK11 instances
-
- Closed
-
-
BSERV-11986 Bundled Elasticsearch Windows Service default settings incompatible with Java 11
-
- Closed
-
-
BSERV-12659 Linux installer does not recognize installed JDK11 instances
-
- Closed
-
- depends on
-
BBSDEV-22298 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
Form Name |
---|
Hey,
To add an (in my opinion) important nuance to this Suggestion:
Per
BSERV-9323, as the installing administrator it should be possible to select whether the bundled JRE or a system JRE should be used. I need to be able to have a valid system JRE installed on the server and still have the bundled JRE extracted into the INSTALL-dirBut then ...
Using the JAVA_HOME and/or JRE_HOME env variables is then the perfect mechanism to select which JRE to use. This is the way I, as the administrator, am used to manage my Atlassian applications.
My use case also includes the usage of a configuration management and orchestration tools setup. We have all our Atlassian services managed by e.g. Chef, Puppet etc. and all our Atlassian servers have a common base configuration which is great since it simplifies things a lot. Having Bitbucket to use the zip-distribution if a system JRE needs to be installed will create un-necessary complexity in this area. And re-work of already working setups.
Cheers,
// Svante