You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Anoop M K <an...@gmail.com> on 2008/12/04 13:51:14 UTC

Apache poi XSSF to support Excel 2007 runs under java 1.4

Hi Guys,

Is Apache XSSF POI supports java 1.4 to upload the Excel 2007. Thankx.


java.lang.UnsupportedClassVersionError:
org/apache/poi/xssf/usermodel/XSSFWorkbook (Unsupported major.minor version
49.0)

at java.lang.ClassLoader.defineClass0(*Native Method*)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(*Native Method*)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at xssf.main(*xssf.java:18*)

Exception in thread "main"

Plz Help me out.

Re: Apache poi XSSF to support Excel 2007 runs under java 1.4

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Dec 8, 2008 at 7:19 PM, Nick Burch <ni...@torchbox.com> wrote:
> On Fri, 5 Dec 2008, Jukka Zitting wrote:
>> Has anyone tried using the Retrotranslator to make a POI 3.5 beta work
>> with Java 1.4?
>
> My hunch is that this ought to work fine. I think the main things of 1.5
> we/openxml4j use are generics and enums, so Retrotranslator ought to be fine
> to alter these for 1.4 use

OK, cool! I'll give it a try and report back on the findings.

BR,

Jukka Zitting

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: Apache poi XSSF to support Excel 2007 runs under java 1.4

Posted by Nick Burch <ni...@torchbox.com>.
On Fri, 5 Dec 2008, Jukka Zitting wrote:
>> Nope. For XSSF, you'll want POI 3.5 + Java 1.5
>
> Has anyone tried using the Retrotranslator to make a POI 3.5 beta work
> with Java 1.4?

My hunch is that this ought to work fine. I think the main things of 1.5 
we/openxml4j use are generics and enums, so Retrotranslator ought to be 
fine to alter these for 1.4 use

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: Apache poi XSSF to support Excel 2007 runs under java 1.4

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Thu, Dec 4, 2008 at 1:59 PM, Nick Burch <ni...@torchbox.com> wrote:
> On Thu, 4 Dec 2008, Anoop M K wrote:
>> Is Apache XSSF POI supports java 1.4 to upload the Excel 2007. Thankx.
>
> Nope. For XSSF, you'll want POI 3.5 + Java 1.5

Has anyone tried using the Retrotranslator to make a POI 3.5 beta work
with Java 1.4?

This would be useful for Apache Tika, where we normally require Java
5, but also provide a retrotranslated version targeted for Java 1.4.

BR,

Jukka Zitting

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: Apache poi XSSF to support Excel 2007 runs under java 1.4

Posted by Nick Burch <ni...@torchbox.com>.
On Thu, 4 Dec 2008, Anoop M K wrote:
> Is Apache XSSF POI supports java 1.4 to upload the Excel 2007. Thankx.

Nope. For XSSF, you'll want POI 3.5 + Java 1.5

If you must use Java 1.4, then you need to stick with POI 3.2, which 
doesn't support the new OOXML file formats

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org