Tetrad Installation problems, both on Windows and Linux CentOs

188 views
Skip to first unread message

valsasi...@gmail.com

unread,
Oct 2, 2014, 5:53:18 AM10/2/14
to tetrad-us...@googlegroups.com
Dear all,
 
I am trying to install the latest version of Tetrad both on Linux (Centos Redhat) and Windows, but I get installation errors in both operating systems.
 
- For Linux, I obtain following error:
 
Exception in thread "main" java.long.UnsupportedClassVersionError: edu/cmu/tetradapp/Tetrad: Unsupported major.minor version 52.0
 
- For Windows, I obtain following error:
 
"Failed to validate certificate. The application will not be executed"
 
How can I solve these problems? Any suggestion is welcome
Kind regards
Paola
 

Simone Mereu

unread,
Oct 5, 2014, 6:45:54 AM10/5/14
to tetrad-us...@googlegroups.com
Hi Paola,
 I don't have na answer but I do have the same problem with mac OS X. here is what I get from the terminal:

Simones-MacBook-Pro:downloads SimOne$ java -jar tetrad-5.1.0-6.jar

Exception in thread "main" java.lang.UnsupportedClassVersionError: edu/cmu/tetradapp/Tetrad : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


Hope we get someone to help :-)

Cheers,

S

Joseph Ramsey

unread,
Oct 5, 2014, 10:05:51 AM10/5/14
to tetrad-us...@googlegroups.com
I think the problem is due to a difference between Java versions, the version used to compile Tetrad and the version used to run it. There was some confusion by Oracle as to whether the most recent version was 1.7.0_67 or 1.8.0_05. I had compiled Tetrad under 1.8.0_05, but discovering that that wasn't the recommended version for all platforms I recompiled it using 1.7.0_67, which should solve the problem if I'm right. All you need to do is update you Java to the latest version and it should work; 1.8 should do as well.

If that doesn't solve it, let me know.

Joe

--
You received this message because you are subscribed to the Google Groups "Tetrad Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tetrad-users-gr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Joseph D. Ramsey
Special Faculty and Director of Research Computing
Department of Philosophy
143 Baker Hall
Carnegie Mellon University
Pittsburgh, PA 15213

jsph....@gmail.com
Office: (412) 268-8063
http://www.andrew.cmu.edu/user/jdramsey

Simone Mereu

unread,
Oct 5, 2014, 10:11:19 AM10/5/14
to tetrad-us...@googlegroups.com
Hi Joseph and thank you.
I did download the latest Java version already and still didn't work.
I tried downloading the latest version from the Mac update (which misses the plug-in for the web) and from oracle (that has the plug-in for internet). Id does not work with either version.
another guess?
Best,
Simone
Dr. Simone Mereu, PhD
Dipartimento di Scienze della Natura e del Territorio (DipNET)
Università degli Studi di Sassari
Tel. 079/229933
Fax 079/229337

Joseph Ramsey

unread,
Oct 5, 2014, 10:34:07 AM10/5/14
to tetrad-us...@googlegroups.com
Hi Simone,

Thanks. Just for clarity, what is your system version of Java do you have? If you type

java -version

at the command line, what does it say? I take it you're using a Mac; I'm using a Mac and Tetrad loads; there must be some difference. This error:

Unsupported major.minor version 

that you report has in the past always indicated a version discrepancy; I guess I'm disposed to think it's indicating that now.

Actually I'm assuming you're using Oracle Java; if you're using another brand of Java I guess that might cause the error as well.

Joe

Simone Mereu

unread,
Oct 5, 2014, 12:17:27 PM10/5/14
to tetrad-us...@googlegroups.com
Hi Joe,
Surprisinlgly the terminal says I have:

java version "1.6.0_65"

Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)

Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

Strange because I installed the latest version and said they were installed correctly.

I installed JAVAForOSX2014  (from mac updates) tried installing Tetrad and got the report I sent before.

than I installed jre-7u67-macosx-x64 downloaded (from the oracle site) and still Tetrad does not load.

But it is strange that the command line says I have 1.6.0_65 version.

Simone

Simone Mereu

unread,
Oct 5, 2014, 12:23:46 PM10/5/14
to tetrad-us...@googlegroups.com
Great, Now I opened the java control panel and it says that my product is 1.7.0_65
How can the Java control panel see something different from the terminal?
S

Joseph Ramsey

unread,
Oct 5, 2014, 12:36:41 PM10/5/14
to tetrad-us...@googlegroups.com
I found this page:

Simone Mereu

unread,
Oct 5, 2014, 12:38:34 PM10/5/14
to tetrad-us...@googlegroups.com
Sorry Joe, but the link is missing...

Joseph Ramsey

unread,
Oct 5, 2014, 12:38:40 PM10/5/14
to tetrad-us...@googlegroups.com
Sorry, I found this page; I don't know if it's helpful. I still need to think about whether people with 1.7.0_67 can run Tetrad. For that I need to find a machine with that version on it (that I can verify). Maybe Monday. Somehow my machine got updated to 1.8 and Oracle won't let me install a previous version.

Joseph Ramsey

unread,
Oct 5, 2014, 12:39:25 PM10/5/14
to tetrad-us...@googlegroups.com

Simone Mereu

unread,
Oct 5, 2014, 12:51:13 PM10/5/14
to tetrad-us...@googlegroups.com
Yeah sorry I was replying to the mail you sent with missing text. But you noticed before you got my email.
Ok, it seems as if I got all the information I need from here. I'm not used to work on the terminal so it will take me some time, but I will figure it out. Thanks a lot Joe!
Simone
Reply all
Reply to author
Forward
0 new messages