What do I need to install on a MAC to get studio or studio express working?

Teradata AppCenter
AppCenter is a framework to build, share, deploy and consume big data apps for self-service analytics and discovery for the business community.
Enthusiast

What do I need to install on a MAC to get studio or studio express working?

Hi, I recently had Teradata studio working perfectly on my Mac. A bad security update (having nothing to do with Teradata) required me to basically re-do my Mac. I am struggling mightily trying to get the tools back and running on my machine. Previously I used the tool in order to do 2 things: examine the structure of tables and be able to run simple queries. That is all I need. I remember that I had Teradata studio. When I try to run studio it quits a few seconds after I launch. This is what is in the log file.

 

Studio:

 

2018-02-06 09:49:05,620 Teradata Datatools [main] INFO com.teradata.studio - Running with Java Version:9.0.4 64 (bit)
2018-02-06 09:49:05,623 Teradata Datatools [main] INFO com.teradata.studio - Running with Eclipse x86_64
2018-02-06 09:51:37,870 Teradata Datatools [main] INFO com.teradata.studio - Running with Java Version:9.0.4 64 (bit)
2018-02-06 09:51:37,872 Teradata Datatools [main] INFO com.teradata.studio - Running with Eclipse x86_64
2018-02-06 09:53:44,196 Teradata Datatools [main] INFO com.teradata.studio - Running with Java Version:9.0.4 64 (bit)
2018-02-06 09:53:44,198 Teradata Datatools [main] INFO com.teradata.studio - Running with Eclipse x86_64
2018-02-06 09:58:12,497 Teradata Datatools [main] INFO com.teradata.studio - Running with Java Version:9.0.4 64 (bit)
2018-02-06 09:58:12,500 Teradata Datatools [main] INFO com.teradata.studio - Running with Eclipse x86_64
2018-02-06 10:00:31,398 Teradata Datatools [main] INFO com.teradata.studio - Running with Java Version:9.0.4 64 (bit)
2018-02-06 10:00:31,401 Teradata Datatools [main] INFO com.teradata.studio - Running with Eclipse x86_64
2018-02-06 10:41:18,775 Teradata Datatools [main] INFO com.teradata.studio - Running with Java Version:9.0.4 64 (bit)
2018-02-06 10:41:18,778 Teradata Datatools [main] INFO com.teradata.studio - Running with Eclipse x86_64

 

 

studio express:

2018-02-06 10:17:53,092 Teradata Datatools [main] INFO com.teradata.studioexpress - Running with Java Version:9.0.4 64 (bit)
2018-02-06 10:17:53,095 Teradata Datatools [main] INFO com.teradata.studioexpress - Running with Eclipse x86_64

 

 

What am I doing wrong? I have the latest version of Java running on this Mac and currently it is running OSX Sierra 10.12. Any help would be appreciated.

11 REPLIES
Teradata Employee

Re: What do I need to install on a MAC to get studio or studio express working?

Studio is not certified with Java 9. It seems that you are using Java 9.Could you please try with Java 1.8

Enthusiast

Re: What do I need to install on a MAC to get studio or studio express working?

OSX will not allow me to install an older version of java if there is a newer version present. Sounds like I am out of luck?

Enthusiast

Re: What do I need to install on a MAC to get studio or studio express working?

I went back to java 8 and it still errors out with the exact same error. This is extremely frustrating.

Teradata Employee

Re: What do I need to install on a MAC to get studio or studio express working?

Can you post the log. Also I think workspace might be corrupted.Can you rename the existing worksapce folder and try to launch the application.

Enthusiast

Re: What do I need to install on a MAC to get studio or studio express working?

I renamed the folder and re-launched teradata studio. Here is what I get in the logs:

 

 

2018-02-06 11:27:39,453 Teradata Datatools [main] INFO com.teradata.studio - Running with Java Version:9.0.4 64 (bit)
2018-02-06 11:27:39,455 Teradata Datatools [main] INFO com.teradata.studio - Running with Eclipse x86_64

Screen Shot 2018-02-06 at 11.30.30 AM.png

Teradata Employee

Re: What do I need to install on a MAC to get studio or studio express working?

From Log Still it seems to be picking up Java 1.9

From your Log

com.teradata.studio - Running with Java Version:9.0.4 64 (bit)

 

You need to Point out JAVA 1.8

You can do this by by adding this line after plug ins line in TeradataStudio.ini file

-vm

<your Java 1.8 locaion /bin/javaw.exe

Enthusiast

Re: What do I need to install on a MAC to get studio or studio express working?

Where is the teradatastudio.ini file located on a Mac install?

Teradata Employee

Re: What do I need to install on a MAC to get studio or studio express working?

It will be in /Applications/Teradata Studio.app/Contents/Eclipse


 


 

Re: What do I need to install on a MAC to get studio or studio express working?

I am experiencing the same problem: Teradata Studio is trying to launch using Java 10:

17:54:53.322 Teradata Datatools [main] INFO  studio - Running with Java Version:10.0.1 64 (bit)

 

I am sure that I have Java 1.8 installed, because when I run this command:

 

/usr/libexec/java_home -V

I get the following output:

 

 

Matching Java Virtual Machines (3):
10.0.1, x86_64: "Java SE 10.0.1" /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
9.0.4, x86_64: "Java SE 9.0.4" /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
1.8.0_172, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home

I modified the Teradata settings ( /Applications/Teradata Studio.app/Contents/Eclipse/TeradataStudio.ini ) as advised by Raviby adding two lines:

 

-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.400.v20160518-1444
-vmargs
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-Xmx512m
-Djava.util.Arrays.useLegacyMergeSort=true
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/javaw.exe

 

However, when I start Teradata Studio, it keeps trying to start with Java 10 and crashes.

 

Anybody has any further advise on how to force Teradata Studio to use Java 1.8 instead of Java 10?