Print

Print


Hey,

I just updated to the latest head of cvs for lcsim and hps-java. I changed back to java 1.6 but when I run the evio converter:

java -cp hps-java-1.7-SNAPSHOT-bin.jar org.lcsim.hps.evio.TestRunEvioToLcio -x steeringFile-d HPS-TestRun-v3 ../data/hps_001351.evio.0


I get an exception from the jlab coda library. I think this means the the evio library is a Java7 version and I'm running with Java6. I'm not sure how it would know to download the correct versionand how it can work for others. I have cleaned my m2 directory and it's still there. Since I just switched back from 1.7 I guess I'm missing something but not sure what.


Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jlab/coda/jevio/EvioException : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
	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)
	at org.lcsim.hps.evio.LCSimTestRunEventBuilder.<init>(LCSimTestRunEventBuilder.java:37)
	at org.lcsim.hps.evio.TestRunEvioToLcio.main(TestRunEvioToLcio.java:179)


My java version is: 
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)

Any ideas?

Thanks,
	Pelle


########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1