Re: Java VM version
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