Teradata studio - Java run time environment 1.8 is required

Teradata Studio
Highlighted
Enthusiast

Teradata studio - Java run time environment 1.8 is required

I am trying to install Teradata Studio on my MacBook Pro (running on MacOS High Sierra version 10.13.4). I am getting an error saying "Java Runtime Environment 1.8 is required for Teradata Studio Application". But I do have installed JDK jdk-8u181-macosx-x64 version also tried jdk-10.0.2_osx-x64_bin version but still no luck. I have tried JRE too but it didn't help.

 

If I run java --version, I am getting below:

java 10.0.2 2018-07-17

Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)

Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

 

Can anyone help on this issue? I have read multiple threads but still no luck. Any help is highly appreciated!!

 

Thanks,

Buvan


Accepted Solutions
Enthusiast

Re: Teradata studio - Java run time environment 1.8 is required

Hi,

 

It worked fine. The main issue is I need to clear the cache files after uninstalling the JDK, JRE. After that I installed only the JDK and after that Teradata installed without any issues. 

 

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin 
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane 
sudo rm -fr ~/Library/Application\ Support/Oracle/Java

sudo rm -r ~/Library/Application Support/Oracle/Java

 

Also removed the jdk* files under /Library/Java/JavaVirtualMachines directory

 

Thanks for the input. 

 

Thanks,

Buvan

1 ACCEPTED SOLUTION
7 REPLIES
Teradata Employee

Re: Teradata studio - Java run time environment 1.8 is required

Please find the list of all available Java versions in your machine, in the below location :

/Library/Java/JavaVirtualMachines

 

Set JAVA_HOME and PATH variables in ~/.bash_profile file.

i.e., add below lines to bash_profile file

export JAVA_HOME=`/usr/libexec/java_home -v 1.8`

export PATH=$JAVA_HOME/bin:$PATH

 

Changes to bash_profile file needs restarting the machine to get them reflected.

After restart, try running ‘java -version’ command, check if you can see 1.8 or not.

Enthusiast

Re: Teradata studio - Java run time environment 1.8 is required

Thank you @Ravi for the reply.

 

I have made the changes in .bash_profile and after restarting now it's showing below when I ran java -version.

java version "1.8.0_181"

Java(TM) SE Runtime Environment (build 1.8.0_181-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

 

But still, I am not able to install Teradata Studio software on my Mac. Still getting the same error saying "Java Runtime Environment 1.8 is required for Teradata Studio Application"

 

One more thing to notice is, I didn't see any Java directory under /Library directory.

 

Please let me know if I am missing anything? or anything needs to be modified?

 

Thanks,

Buvan

 

 

 

Teradata Employee

Re: Teradata studio - Java run time environment 1.8 is required

which one have you installed. JDK or JRE. I think you have installed JRE. JRE is suffiecient. COuld you please try witj restart the machine

 

Enthusiast

Re: Teradata studio - Java run time environment 1.8 is required

Hi @Ravi,

 

Thanks again for your help!!

 

I have installed both. I read in some other Teradata threads they have mentioned to install JDK for newer versions of Mac OS X. So I have installed JDK. I have restarted the system multiple times but still no luck.

 

when I run java -version below is the results:

java version "1.8.0_181"

Java(TM) SE Runtime Environment (build 1.8.0_181-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

 

Any other options to try?

Teradata Employee

Re: Teradata studio - Java run time environment 1.8 is required

Hey guys,

      got the same error in the last days.

Personally solved and successfully installed the last Teradata Studio version after installing the last Java JDK you can easily download from the Java official page.

this the file Jdk-8u181-macosx-x64.dmg

 

Hope this helps,

have a nice day

Enthusiast

Re: Teradata studio - Java run time environment 1.8 is required

Hi, @Dany3R9 Thanks for the reply.

 

Yes, I am doing the same steps. I have downloaded/installed the same JDK (jdk-8u181-macosx-x64.dmg) version and downloaded/installed the latest version of Teradata Studio.pkg file but still getting the same java runtime environment error.

 

Any other suggestions? Appreciate your help!!

Enthusiast

Re: Teradata studio - Java run time environment 1.8 is required

Hi,

 

It worked fine. The main issue is I need to clear the cache files after uninstalling the JDK, JRE. After that I installed only the JDK and after that Teradata installed without any issues. 

 

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin 
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane 
sudo rm -fr ~/Library/Application\ Support/Oracle/Java

sudo rm -r ~/Library/Application Support/Oracle/Java

 

Also removed the jdk* files under /Library/Java/JavaVirtualMachines directory

 

Thanks for the input. 

 

Thanks,

Buvan