Re: Error Running on JRE 1.4.2
Michael B Allen <[email protected]>
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <CAGMFw4jKxyEZuS1bGYP1Km6Z4TU+-SxysPwqpdVuCmy2SGpthg@mail.gmail.com> |
I think JCIFS compiles with 1.4. I'm not sure when or why I stopped using 1.4 to compile. If you edit the build.xml to refer to 1.4 instead of 1.5 I think it should build with 'ant jar'. Actually I cannot even find the 1.4 download on Oracle's site which I will take as a signal to stop using 1.4 altogether. If you want 1.4 support, recompile ... Mike -- Michael B Allen Java Active Directory Integration http://www.ioplex.com/ On Fri, Aug 26, 2011 at 2:35 PM, Sean Merron <[email protected]> wrote: > Hello, > > I downloaded the latest 1.3.16 version of JCIFS and developed a program to use > it. However, I'm receiving the error below when running the code on an AIX > server running Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) > Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20070708 (SR9) (JIT > enabed: jitc)). > > The java class could not be loaded. java.lang.UnsupportedClassVersionError: > jcifs/smb/SmbFileInputStream (Unsupported major.minor version 49.0) > > Can this version of JCIFS work with 1.4.2 or do I have to download the source > and recompile the code with 1.4.2? or download an older version of jcifs? The > code works fine on my machine running 1.6. Thanks