• 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 VM version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java VM version


  • Subject: Re: Java VM version
  • From: Michael Hall <email@hidden>
  • Date: Tue, 6 Jun 2006 11:12:56 -0500


On Jun 6, 2006, at 10:25 AM, Joris Kluivers wrote:

As soon as a test executes a method that delegates to a Java object I get the known "Unsupported major.minor version" error.

Does your java library actually have dependancies on 1.4 or 1.5? If not a solution for this problem would be to compile the java as 1.3...
javac -target 1.3 -source 1.3 and so on
Some recommend pre-pending the 1.3 jvm classes jar as well to the javac bootclasspath. But the above would _probably_ cover things as is. Not as nice a solution as being able to specify your jvm version but until someone indicates they have a solution for that you at least have a <= 1.3 limited workaround.
I'm not remembering the XCode settings for the compile. That again should be on the javadev list archives or if asked on the javadev list should be more likely to produce an answer.



Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative



Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >Java VM version (From: Joris Kluivers <email@hidden>)
 >Re: Java VM version (From: Michael Hall <email@hidden>)
 >Re: Java VM version (From: Joris Kluivers <email@hidden>)
 >Re: Java VM version (From: Michael Hall <email@hidden>)
 >Re: Java VM version (From: Joris Kluivers <email@hidden>)

  • Prev by Date: Re: crash when using notification center and self
  • Next by Date: Re: Color Picker implementation error
  • Previous by thread: Re: Java VM version
  • Next by thread: Weird bindings problem
  • Index(es):
    • Date
    • Thread