• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: java.lang.UnsupportedClassVersionError: Bad version number in.class file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.UnsupportedClassVersionError: Bad version number in.class file


  • Subject: Re: java.lang.UnsupportedClassVersionError: Bad version number in.class file
  • From: Farrukh Ijaz <email@hidden>
  • Date: Mon, 14 Jun 2010 14:54:26 +0300

Eclipse > Preferences > Java > Compiler

Set it to Java 1.5 before compiling.

You can do the similar setup per project.

Farrukh

On 2010-06-14, at 2:51 PM, Jake Bearkley wrote:

> HI All,
>
> I am trying to build an application on Snow Leopard with Java 1.6 and run on a Leopard server with Java 1.5
>
> Can someone give me guidance on how to do this.
>
> Java 1.5 is a symbolic link to 1.6 on the file system
>
> Within eclipse I have attempted to set the Workspace settings to use 1.5, to do this I also need to set the System JRE.
>
> I am unable to install JRE for 1.5, when I try to install it, I am unable to select the 1.5 directory as it is dimmed.
>
> can anyone enlighten me?
>
> Thanks in advance
> Bearko
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: java.lang.UnsupportedClassVersionError: Bad version number in.class file
      • From: Jake Bearkley <email@hidden>
References: 
 >java.lang.UnsupportedClassVersionError: Bad version number in .class file (From: Jake Bearkley <email@hidden>)

  • Prev by Date: java.lang.UnsupportedClassVersionError: Bad version number in .class file
  • Next by Date: Re: java.lang.UnsupportedClassVersionError: Bad version number in.class file
  • Previous by thread: java.lang.UnsupportedClassVersionError: Bad version number in .class file
  • Next by thread: Re: java.lang.UnsupportedClassVersionError: Bad version number in.class file
  • Index(es):
    • Date
    • Thread