Re: Unable to compile class
Vincent Vandemeulebrouck <[email protected]> Tue, 25 Jul 2017 09:10:56 +0200
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <CACVNhGXRgHtTNeHwPtmFPNyEFdCpWok-7kiFvsVNjG7vcfX95w@mail.gmail.com> |
--===============3882339056074943774== Content-Type: multipart/alternative; boundary="f403045f6b2669efd905551f0816" --f403045f6b2669efd905551f0816 Content-Type: text/plain; charset="UTF-8" It looks like the class is compiled with java8, and you try to compile IKVM for java 1.7 https://stackoverflow.com/questions/10382929/how-to-fix-java-lang-unsupportedclassversionerror-unsupported-major-minor-versi *--Vincent Vandemeulebrouck | *Architect - UL MIDDLE and Extensions *| ULLINK | *D: +33 1 44 50 52 02* | *T: +33 1 49 95 30 00* | *23-25 rue de Provence, 75009 Paris, FRANCE *|* [email protected] *| * <http://www.ullink.com/wp-content/uploads/Press_Release_ITT_Awards_PTR_SOR_June_2017_web.pdf> <http://www.ullink.com/> 2017-07-24 17:05 GMT+02:00 Branden Huxtable <[email protected]>: > Heard that Jeroen resigned. Hoping there's still support on IKVM. I'm > getting the following error when running ikvmc: > > warning IKVMC0101: Unable to compile class ".\MyClass.class" > (class format error "52.0") > note IKVMC0002: Output file is "MyClass.dll" > > Everything else worked fine (ikvmstub and javac). What might be going on > here? My class is a library class (no main method) and I'm using Java 1.7. > > Thanks. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Ikvm-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ikvm-developers > > -- *The information contained in or attached to this email is strictly confidential. If you are not the intended recipient, please notify us immediately by telephone and return the message to us.* --f403045f6b2669efd905551f0816 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">It looks like the class is compiled with java8, and you tr= y to compile IKVM for java 1.7<div><br></div><div><a href=3D"https://stacko= verflow.com/questions/10382929/how-to-fix-java-lang-unsupportedclassversion= error-unsupported-major-minor-versi">https://stackoverflow.com/questions/10= 382929/how-to-fix-java-lang-unsupportedclassversionerror-unsupported-major-= minor-versi</a><br></div></div><div class=3D"gmail_extra"><br clear=3D"all"= ><div><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><di= v dir=3D"ltr"><div><div dir=3D"ltr"><div><p align=3D"left"><span style=3D"f= ont-family:'Times New Roman','serif';font-size:10pt"> </span></p><div style=3D"margin:0in 0in 0pt"><span style=3D"font-family:= 9;Times New Roman','serif';font-size:10pt"><span style=3D"font-= family:'Times New Roman','serif';font-size:10pt"> <div style=3D"margin:0in 0in 0pt"><span style=3D"font-family:'Times New= Roman','serif';color:rgb(31,73,125);font-size:10pt"><font face= =3D"times new roman,serif"><span style=3D"font-family:'Times New Roman&= #39;,'serif';color:#1f497d;font-size:10pt"> <p style=3D"margin:0in 0in 0pt"><span style=3D"font-family:'Times New R= oman','serif';font-size:10pt"> </span></p><div style=3D"margin:0in 0in 0pt"><span style=3D"font-family:= 9;Times New Roman','serif';font-size:10pt"><span style=3D"font-= family:'Times New Roman','serif';font-size:10pt"> </span></span><div style=3D"margin:0in 0in 0pt;color:rgb(0,0,102);font-fami= ly:tahoma,sans-serif"><font style=3D"font-family:tahoma,sans-serif" size=3D= "2"><b>--<br>Vincent Vandemeulebrouck | </b>Architect - </font><span style= =3D"font-family:'Times New Roman','serif';font-size:10pt"><= span style=3D"font-family:'Times New Roman','serif';font-si= ze:10pt"><span style=3D"font-family:'Times New Roman','serif= 9;;color:rgb(31,73,125);font-size:10pt"><font face=3D"times new roman,serif= "><span style=3D"font-family:'Times New Roman','serif';colo= r:#1f497d;font-size:10pt"><font style=3D"font-family:tahoma,sans-serif" siz= e=3D"2">UL </font></span></font></span></span></span><font style=3D"font-fa= mily:tahoma,sans-serif" size=3D"2">MIDDLE and </font><span style=3D"font-fa= mily:'Times New Roman','serif';font-size:10pt"><span style= =3D"font-family:'Times New Roman','serif';font-size:10pt"><= span style=3D"font-family:'Times New Roman','serif';color:r= gb(31,73,125);font-size:10pt"><font face=3D"times new roman,serif"><span st= yle=3D"font-family:'Times New Roman','serif';color:#1f497d;= font-size:10pt"><font style=3D"font-family:tahoma,sans-serif" size=3D"2">Ex= tensions</font></span></font></span></span></span><font style=3D"font-famil= y:tahoma,sans-serif" size=3D"2"> <b>| ULLINK | </b>D: +33 1 44 50 52 02<b> = | </b>T: +33 1 49 95 30 00<b> | </b>23-25 rue de Provence, 75009 Paris, FRA= NCE <b>|</b>=C2=A0<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a><b> </b></font><b><s= pan style=3D"font-family:'Times New Roman','serif';font-siz= e:10pt"><span style=3D"font-family:'Times New Roman','serif'= ;;font-size:10pt"><span style=3D"font-family:'Times New Roman','= ;serif';color:rgb(31,73,125);font-size:10pt"><font face=3D"times new ro= man,serif"><span style=3D"font-family:'Times New Roman','serif&= #39;;color:#1f497d;font-size:10pt"><font size=3D"2"><span style=3D"font-fam= ily:tahoma,sans-serif">| </span><br></font></span></font></span></span></sp= an></b></div><div style=3D"margin:0in 0in 0pt;color:rgb(0,0,102);font-famil= y:tahoma,sans-serif"><a href=3D"http://www.ullink.com/wp-content/uploads/Pr= ess_Release_ITT_Awards_PTR_SOR_June_2017_web.pdf" target=3D"_blank"><img he= ight=3D"74" vspace=3D"0" border=3D"0" name=3D"UNIQUE_ID_SafeHtmlFilter_m_43= 91555113546843674_ACCOUNT.IMAGE.765" hspace=3D"0" width=3D"515" src=3D"http= ://files.constantcontact.com/8c1b7d3c301/fc2227da-00e1-4b9f-9681-5d267e7d24= d6.png" style=3D"color:rgb(31,73,125);font-family:"Times New Roman&quo= t;,serif;font-size:10pt"></a></div></div></span></font></span><span style= =3D"font-family:'Times New Roman','serif';color:#1f497d;fon= t-size:10pt"></span></div></span></span></div><a href=3D"http://www.ullink.= com/" target=3D"_blank"></a><p></p></div></div></div></div></div></div> <br><div class=3D"gmail_quote">2017-07-24 17:05 GMT+02:00 Branden Huxtable = <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blan= k">[email protected]</a>></span>:<br><blockquote class=3D"gmail_quote" = style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di= v dir=3D"ltr"><div>Heard that Jeroen resigned.=C2=A0 Hoping there's sti= ll support on IKVM.=C2=A0 I'm getting the following error when running = ikvmc:</div><div><br></div><div>warning IKVMC0101: Unable to compile class = ".\MyClass.class"<br>=C2=A0=C2=A0=C2=A0 (class format error "= ;52.0")<br>note IKVMC0002: Output file is "MyClass.dll"</div= ><div><br></div><div>Everything else worked fine (ikvmstub and javac).=C2= =A0 What might be going on here?=C2=A0 My class is a library class (no main= method) and I'm using Java 1.7.</div><div><br></div><div>Thanks.</div>= </div> <br>------------------------------<wbr>------------------------------<wbr>-= -----------------<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel= =3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________= _____________________<wbr>_________________<br> Ikvm-developers mailing list<br> <a href=3D"mailto:[email protected]">Ikvm-developers@li= sts.<wbr>sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/ikvm-developers" re= l=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists= /listinfo/ikvm-developers</a><br> <br></blockquote></div><br></div> <br> <i><font size=3D"1">The information contained in or attached to this email = is strictly confidential. If you are not the intended recipient, please not= ify us immediately by telephone and return the message to us.</font></i> --f403045f6b2669efd905551f0816-- --===============3882339056074943774== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============3882339056074943774== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers --===============3882339056074943774==--