[ExM Users] stc unsupported class error

Ketan Maheshwari ketan at mcs.anl.gov
Mon Apr 28 10:33:38 CDT 2014


Hi,

While running stc on MCS workstations, I get:

./genleaf vanilla mockdock.c mockdock.h user.swift
Exception in thread "main" java.lang.UnsupportedClassVersionError:
exm/stc/ui/Main : Unsupported major.minor version 51.0

Somehow the java versions at build and runtime are getting mixed up.

This is how I build:

export JAVA_HOME=/homes/ketan/jdk1.7.0_07
ant install -Ddist.dir=/home/ketan/exm-install/stc

I have the same java in my env:

$ which java
/homes/ketan/jdk1.7.0_07/bin/java


Any suggestions to fix this?

Thanks,
Ketan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140428/151d9195/attachment.html>


More information about the ExM-user mailing list