Select Page

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

Author: Sherry Milad | | January 4, 2017

Note that this document was written during OBIEE 12c upgrade from to, 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:

3. Using FileZilla, connect to the new site you just created.

4. Navigate to the /home/oracle folder:

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

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

. ~/.bash_profile

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

which java

That’s it!

How to Solve the Oracle Error ORA-12154: TNS:could not resolve the connect identifier specified

The “ORA-12154: TNS:could not resolve the connect identifier specified” Oracle error is a commonly seen message for database administrators.

Vijay Muthu | February 4, 2021

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

This blog reviews how you can generate scripts for SQL server logins, role assignments, and server permissions for a smooth migration.

JP Chen | October 1, 2015

Using Nulls in DB2

If a column “value” can be null, it can mean one of two things: the attribute is not applicable for certain occurrences of the entity, or the attribute applies to all entity occurrences, but the information may not always be known.

Craig Mullins | April 6, 2015

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.

Work with Us

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


Work for Us

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