From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=A brief description of the functionality being tested. |setup=* Multiple jdks are handled by alternatives * Major '''masters''' are: * for SDK: ''...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description= This test case focuses on testing the alternative and the switching | ||
|setup=* Multiple jdks are handled by alternatives | |setup=* Multiple jdks are handled by alternatives | ||
* Major '''masters''' are: | * Major '''masters''' are: |
Latest revision as of 23:51, 18 September 2018
Description
This test case focuses on testing the alternative and the switching
Setup
- Multiple jdks are handled by alternatives
- Major masters are:
- for SDK: javac, java_sdk_openjdk, java_sdk_$VERSION, java_sdk_$VERSION_openjdk
- for JRE: java, jre_openjdk, jre_$VERSION, jre_$VERSION_openjdk
- where version is one of 1.8.0, 10, 11
- for javadoc: javadocdir
- or javadoc-zip: javadoczip
- for icedtea-web: javaws
How to test
sudo alternatives --config $MASTER
# will select the tooling acocrding by masters from above # except programs on PATH, also direcotries in /usr/lib/jvm are shufled. Please observe!
alternatives --display $MASTER
# will show current setup for given master
headless JRE
# if your application do not need X (GUI) operate with ...-headless subpackage only in above examples # if you need javac, operate with ...-devel subpackage in above examples # if you need javadoc or sources, operate with ...-src, -javadoc and javadoc-zip subpackage in above examples
######################################################## # There are *many* jdk packages and countless subpackages ######################################################## no | sudo dnf install "java*openjdk*" dnf search "java*openjdk*" # note for f28 - jdk9 is no longer supported, and is there only because jdk10 was not alive in time of f28 release # on f29 you should NOT see jdk9 appear
Expected Results
- Please try to install and use various combinations. This is quite crucial part of this testday.
- is the combination working and you can switch?
- can you switch installations
- are slaves as expected?
- is /etc/java affecting correct jdk and so on..