Select Page

Art of BI: How to Make a Linux Machine Use Latest Installed Java Version

Sherry Milad | | January 4, 2017

linux

Note that this document was written during OBIEE 12c upgrade from 12.2.1.1.0 to 12.2.1.2, so the environments used here are a SampleAppv607 VM and a host machine.

Pre-requisite: Downloaded and installed the latest JDK

Once you have installed the latest JDK in your terminal window, run the command java –versionto know what the latest running java version on your machine is. If it is not the latest version, you’ll need to include the JAVA_HOME variable in your .bash_profile file. The .bash_profile file contains a script that is executed every time you log into your machine.

To make your Linux machine use the latest installed java version, perform the following steps:

1. If you do not already have FileZilla, install it on your host machine and create a New Site with the following details:

Note: By default, the SSH protocol only listens to port 22

2. Make sure your VM is turned off. Then, go into the Settings and under Networks, apply the following port forwarding for a new entry for SSH:

  1. Using FileZilla, connect to the new site you just created.
  2. Navigate to the /home/oracle folder:

5. Locate the .bash_profile file and edit it to enter the JAVA_HOME variable

  1. Now we can either restart the VM to reactivate the .bash_profile or we can enter the following command:

. ~/.bash_profile

  1. Finally enter the following command to see which java your machine is using:

which java

That’s it! Did this work for you? Let us know in the comments.

Read our latest white paper, “Oracle Analytics Guide: OBIEE 12c upgrade from 12.2.1.1.0 to 12.2.1.2,” for step-by-step instruction on upgrading without losing any of your dashboards or reporting content.

12c Upgrade Bug with SQL Tuning Advisor

This blog post outlines steps to take on Oracle upgrade 11.2 to 12.1 if you’re having performance problems. Oracle offers a patch and work around to BUG 20540751.

Megan Elphingstone | March 22, 2017

Oracle EPM Cloud Vs. On-Premises: What’s the Difference?

EPM applications help measure the business performance. This post will help you choose the best EPM solutions for your organization’s needs and objectives.

Bobby Ellis | April 10, 2018

Scripting Out the Logins, Server Role Assignments, and Server Permissions

Imagine there are over one hundred logins in the source server and you need to migrate them all over to the destination server. Wouldn’t it be awesome if we could automate the process by generating the scripts for the required tasks?

JP Chen | October 1, 2015

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.

CONTACT US

Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.

EXPLORE JOBS