<div dir="ltr">Hi,<div><br></div><div>While running stc on MCS workstations, I get:</div><div><br></div><div>./genleaf vanilla mockdock.c mockdock.h user.swift<br></div><div>Exception in thread "main" java.lang.UnsupportedClassVersionError: exm/stc/ui/Main : Unsupported major.minor version 51.0<br>
</div><div><br></div><div>Somehow the java versions at build and runtime are getting mixed up.</div><div><br></div><div>This is how I build:</div><div><br></div><div>export JAVA_HOME=/homes/ketan/jdk1.7.0_07<br></div><div>
ant install -Ddist.dir=/home/ketan/exm-install/stc<br></div><div><br></div><div>I have the same java in my env:</div><div><br></div><div><div>$ which java</div><div>/homes/ketan/jdk1.7.0_07/bin/java</div></div><div><br></div>
<div><br></div><div>Any suggestions to fix this?</div><div><br></div><div>Thanks,</div><div>Ketan</div></div>