FROM : Moray Taylor
DATE : Fri Nov 19 19:38:16 2004
Hi,
I've has this problem before, but I've forgotten exactly how I fixed it
(sorry). Did you change the java compiler to be 1.4 as well as the JVM,
I can remember I had to change it in at least two places.
Also, try deleting the 'build' folder, cleaning, and rebuilding your
project.
Cheers
Moray
> Hallo
>
> I usually build Cocoa XCode Apps in ObjectiveC, but this time it has
> to be Cocoa Java because of a Java Framework that I have to use....
>
> The Framework uses Java 1.4, so I have the need to get XCode running
> Java 1.4...
>
> what I do so far:
> 1) I read the archives and found:
> >> One important thing to remember when using Mac OS X for Java
> development is that you can't just install the end-user Java update
> and be done with it. You *must* also install the Java SDK update. In
> the case of Java 1.4.1, this is what lets you specify in your
> application's target settings that it should be launched with the 1.4
> VM rather than the 1.3 VM. If no setting is specified, the operating
> system uses the 1.3 VM for backwards compatibility purposes.
>
> 2.) So I install from Apple Dev Downloads:
> 1)Java142Update1
> 2)Java142Update1Tools
> 3)Java142Update2
>
> 3.) I turned in XCode the target setting to 1.4 VM...
>
> but after Compiling, the Console always says:
> "[Session started at 2004-11-18 21:59:14 +0100.]
> 2004-11-18 21:59:17.802 Test14[1538] Unknown class `AppControler' in
> nib file, using `NSObject' instead.
> 2004-11-18 21:59:17.881 Test14[1538] Could not connect the action
> myAction: to target of class NSObject"
>
> (with target settings to "unspecified" everything is OK, but the
> application runs Java 1.3)
> System.out.println("java.version =
> "+System.getProperty("java.version"));
>
> what else can I report??
> current Hardware: Titan PB 550 Mhz
> XCode Version 1.5
>
> anyone out there who can help ??
>
> Thanks, Olli
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
DATE : Fri Nov 19 19:38:16 2004
Hi,
I've has this problem before, but I've forgotten exactly how I fixed it
(sorry). Did you change the java compiler to be 1.4 as well as the JVM,
I can remember I had to change it in at least two places.
Also, try deleting the 'build' folder, cleaning, and rebuilding your
project.
Cheers
Moray
> Hallo
>
> I usually build Cocoa XCode Apps in ObjectiveC, but this time it has
> to be Cocoa Java because of a Java Framework that I have to use....
>
> The Framework uses Java 1.4, so I have the need to get XCode running
> Java 1.4...
>
> what I do so far:
> 1) I read the archives and found:
> >> One important thing to remember when using Mac OS X for Java
> development is that you can't just install the end-user Java update
> and be done with it. You *must* also install the Java SDK update. In
> the case of Java 1.4.1, this is what lets you specify in your
> application's target settings that it should be launched with the 1.4
> VM rather than the 1.3 VM. If no setting is specified, the operating
> system uses the 1.3 VM for backwards compatibility purposes.
>
> 2.) So I install from Apple Dev Downloads:
> 1)Java142Update1
> 2)Java142Update1Tools
> 3)Java142Update2
>
> 3.) I turned in XCode the target setting to 1.4 VM...
>
> but after Compiling, the Console always says:
> "[Session started at 2004-11-18 21:59:14 +0100.]
> 2004-11-18 21:59:17.802 Test14[1538] Unknown class `AppControler' in
> nib file, using `NSObject' instead.
> 2004-11-18 21:59:17.881 Test14[1538] Could not connect the action
> myAction: to target of class NSObject"
>
> (with target settings to "unspecified" everything is OK, but the
> application runs Java 1.3)
> System.out.println("java.version =
> "+System.getProperty("java.version"));
>
> what else can I report??
> current Hardware: Titan PB 550 Mhz
> XCode Version 1.5
>
> anyone out there who can help ??
>
> Thanks, Olli
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Oliver Fox | Nov 18, 22:12 | |
| Moray Taylor | Nov 19, 19:38 |






Cocoa mail archive

