11 messages in net.java.dev.jna.usersFwd: [jna-users] Java 5 dependency on...
FromSent OnAttachments
Chris SewartJul 28, 2007 6:14 am 
Timothy WallJul 28, 2007 8:31 pm 
Timothy WallJul 28, 2007 8:39 pm 
Timothy WallJul 29, 2007 11:38 am 
Michael HallJul 29, 2007 2:13 pm 
Timothy WallJul 29, 2007 2:40 pm 
Timothy WallJul 30, 2007 1:34 pm 
Timothy WallJul 30, 2007 1:47 pm 
Michael HallJul 30, 2007 2:04 pm 
Chris SewartJul 31, 2007 4:13 am 
Timothy WallJul 31, 2007 7:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Fwd: [jna-users] Java 5 dependency on OSXActions...
From:Timothy Wall (twal@dev.java.net)
Date:Jul 28, 2007 8:31:33 pm
List:net.java.dev.jna.users

Begin forwarded message:

From: Greg Guerin <glgu@amug.org> Date: July 28, 2007 10:48:43 PM EDT To: java@lists.apple.com Subject: Re: Fwd: [jna-users] Java 5 dependency on OSX

Timothy Wall wrote:

Which I figured would be valid on any machine, but this is a symlink that resolves to Java 5 (on my dev machine) so I wind up with a library with the same problem. I confess to knowing next to nothing about linking dynamic libraries on OS X so am a bit stumped. Surely there must be a way of linking to 'the current version' ?

The linker appears to be resolving symlinks. I don't know how to tell it not to do that, so the obvious thing is to tell it to link specifically to the 1.4.2/Libraries/libjawt.dylib. Go look in /System/Library/Frameworks/... and you'll see that 1.4.2 does have the dylib, and there is a 1.4.2 on OS 10.3, so it should at least link and dyld on 10.3.

I'm not saying I've tried this and it works, and I'm not saying the resulting code will run (there may be other dependencies on Java 5), but it seems like an obvious work-around that might work.

-- GG

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (Java@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/twall%40users.sf.net

This email sent to twa@users.sf.net