-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/31/11 12:25 PM, Claus Atzenbeck wrote:
> On Wed, 31 Aug 2011 at 10:06am -0400, Alexander Hansen wrote:
> 
>> That would indicate that at least the jni.h file which Fink uses 
>> to detect the Java SDK doesn't appear to be installed where Fink 
>> expects it.
>> 
>> Check /System/Library/Frameworks/JavaVM.framework/Headers to
>> make sure that it has other Java headers in it.  If so, then you
>> can copy jni.h from the 10.7SDK (which should be installed--you
>> can use 'fink list system-sdk-10.7' to verify that) via
>> 
>> sudo cp 
>> /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Headers/jni.h
>>
>>
>> 
/System/Library/Frameworks/JavaVM.framework/Headers
> 
> Thanks for your reply.
> 
> jni.h already exists in the Headers directory:
> 
> [pyron:/] claus$ cd 
> /System/Library/Frameworks/JavaVM.framework/Headers 
> [pyron:/System/Library/Frameworks/JavaVM.framework/Headers] claus$ 
> ls AWTCocoaComponent.h  JavaVM.h                jawt.h jni.h JDWP.h
> NSJavaConfiguration.h   jawt_md.h jni_md.h JDWPCommands.h
> NSJavaVirtualMachine.h jdwpTransport.h  jvmti.h
> 
> Claus
> 

I was wrong.  I poked around in the virtual package code, and found,
for system-java<XX>-dev:

This package represents an installed version of Apple's Java SDK.
It is considered present if the
/System/Library/Frameworks/JavaVM.framework/Versions/[VERSION]/Headers
directory exists.

So let's look at /System/Library/Frameworks/JavaVM.framework/Versions:

$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/
total 32
lrwxr-xr-x 1 root wheel  10 Jul 21 20:51 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel  10 Jul 21 20:51 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel  10 Jul 21 20:51 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel  10 Jul 21 20:51 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel  10 Jul 21 20:51 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel  10 Jul 21 20:51 1.6.0 -> CurrentJDK
drwxr-xr-x 7 root wheel 272 Jul 22 08:01 A
lrwxr-xr-x 1 root wheel   1 Jul 21 20:51 Current -> A
lrwxr-xr-x 1 root wheel  59 Jul 21 20:51 CurrentJDK ->
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents


Check that those symlinks are present, and that
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents is present.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5ecnQACgkQB8UpO3rKjQ8ojwCghry0mjcpNa8gCeGIO1BHV2fV
hZkAoIeUVWPoRCv/tjXrabGCqE/fiqFl
=SI7s
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to