Cocoa and Java 1.4
Cocoa and Java 1.4
- Subject: Cocoa and Java 1.4
- From: Oliver Fox <email@hidden>
- Date: Thu, 18 Nov 2004 22:12:42 +0100
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden