-
Notifications
You must be signed in to change notification settings - Fork 296
Upgrading Java
- ✅ 2.1 | ✅ 2.0 | ✅ 1.9 | ...
Learn the recommended way to install, remove, or upgrade Java
- Make sure QZ Tray and other Java dependent software are closed out of
- The easiest way to close out of QZ Tray is to go to the System Tray > QZ Tray > Exit
- Check Windows Task Manager for other Java programs. Look for
java.exe
orjavaw.exe
in the process name/details.
- Optional: Uninstall all Java versions
- If you do not require a specific version of Java for another program, it is highly recommended to uninstall all versions currently installed prior to updating
- To uninstall, go to Control Panel > Programs > Programs and Features
- Download the Java offline installer here
- If on a 64-bit operating system, you may have both 32-bit and 64-bit Java versions installed. If this is the case, make sure to download and install both versions
- You can check for 32-bit installations by verifying if there is a Java folder in
C:\Program Files (x86)
- Run the installer(s) and follow the prompts on the screen
-
The installer will look similar to
jre-8u91-windows-x64.exe
-
If you did not follow step 2, you may be prompted to uninstall out-of-date versions of Java. If you are certain you do not need the older versions, it is recommended to uninstall.
- Verify the Java version
-
Go to the start menu and search for "Java" > open "Configure Java" > Click "About..."
-
Alternatively, you can open a Command Prompt and type
java -version
- Test QZ Tray
- If no shortcut has been created, launch the software by going to
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\QZ Tray
- Test functionality by visiting our demo page. Note that this page only works with 2.0 or higher.
- Make sure QZ Tray and other Java dependent software are closed out of
- The easiest way to close out of QZ Tray is to go to the System Tray > QZ Tray > Exit
- Optional: Uninstall all Java versions
- If you do not require a specific version of Java for another program, it is highly recommended to uninstall all versions currently installed prior to updating
- Open a terminal (found in Applications > Utilities) and type the following commands:
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane
- Download the Java offline installer here
- Run the installer and follow the prompts on the screen
- The download should look similar to
jre-8u91-macosx-x64.dmg
- Verify the Java version
-
System Preferences > Java > About
Note: If using the terminal
java -version
to detect the Java version, this will fallback on the JDK version found on the system. It is best to use the above method.
- Test QZ Tray
- If there is no desktop shortcut, start QZ Tray by going to Applications > QZ Tray
- Test functionality by visiting our demo page. Note that this page only works with 2.0 or higher.
- Make sure QZ Tray and other Java dependent software are closed out of
- The easiest way to close out of QZ Tray is to go to the System Tray > QZ Tray > Exit
- Download and install Java
If running Ubuntu or Linux Mint, Oracle Java 8 can be installed via the command line by adding a repository from the WEB UPD8 team
- Add the repository
sudo add-apt-repository ppa:webupd8team/java
- Update the package manager
sudo apt-get update
- Install Oracle Java 8
sudo apt-get install oracle-java8-installer
-
Download the Java offline installer here
-
Move the tarball to the directory you want to install Java, then move to that directory
sudo cp jre-8u91-linux-x64.tar.gz /usr/bin/java && cd /usr/bin/java
-
Unpack the tarball and install java
tar zxvf jre-8u91-linux-x64.tar.gz
- Verify the Java Version
-
On the command line
java -version
-
If the wrong version of Java is displayed, you can use this command to switch
sudo update-alternatives --config java
- Test QZ Tray
If there is no desktop shortcut:
- Search for "QZ Tray" or go to
usr/share/applications
and find QZ Tray - Test functionality by visiting our demo page. Note that this page only works with 2.0 or higher.