Thread: Java driving me crazy!
hello gentlemen having issue java , have been days now. trying run .jar program (obviously) , nothing happends. when run java -jar jarfile.jar print out. unsupportedclassversionerror: project1/mainproject : unsupported major.minor version 51.0.
have tried uninstalling openjdk6 , reinstalling. have tried installing openjdk7 , without jdk6. have tried oasisjava 7u5. nothing has worked me far. thank future efforts.
as understand it, " unsupported major.minor version 51.0" means jar compiled java 7 , attempting run earlier jdk, presumably 6.
if have java 7 jdk installed and
shows 1.7something, thencode:java -version
should work, ifcode:java -jar jarfile.jardoes not show 1.7something, jar won't work.code:java -version
if doesn't work java 7 jdk, post version string (using above command). jar downloadable somewhere? come requirement instructions?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Java driving me crazy!
Ubuntu
Comments
Post a Comment