aspose file tools*
The moose likes Mac OS and the fly likes requesting java library list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "requesting java library list" Watch "requesting java library list" New topic
Author

requesting java library list

Alan Shiers
Ranch Hand

Joined: Sep 24, 2003
Posts: 237
Hi there,

I'm working with a Security Manager class and I'm putting together lists of library files for the various operating systems. Windows uses dll files, while Unix/Linux uses so files. These library files are typically found in the JRE lib directory. However, I'm not familiar with the Mac operating system. I don't know what the file extension is for Mac library files. Could someone, who has a Mac, please go into your JRE and provide me with the complete list of library files that reside in the lib directory. I'm assuming the JRE for Mac even has a lib directory.

Thanks,

Alan
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
OS X libraries have .jnilib and .dylib extensions. My /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries directory has the following native libraries:

libattach.jnilib
libawt.jnilib
libclient.dylib
libclient64.dylib
libcmm.jnilib
libcolorsync.jnilib
libdcpr.jnilib
libdeploy.jnilib
libdt_local.jnilib
libdt_socket.jnilib
libfontmanager.jnilib
libframeembedding.jnilib
libgssapi.jnilib
libhotspot.dylib
libhpi.dylib
libhprof.jnilib
libhsdbd.jnilib
libinstrument.jnilib
libioser12.jnilib
libj2gss.jnilib
libj2pcsc.jnilib
libj2pkcs11.jnilib
libjaas_unix.jnilib
libjava_crw_demo.jnilib
libjava.jnilib
libjawt.dylib
libjdwp.jnilib
libjli.jnilib
libjpeg.jnilib
libjsound.jnilib
libjvm.dylib
libjvmlinkage.dylib
libkeychain.jnilib
libmacjavaws.jnilib
libmanagement.jnilib
libnet.jnilib
libnio.jnilib
libnpt.jnilib
librmi.jnilib
libserver.dylib
libsplashscreen.jnilib
libsuncmm.jnilib
libunpack.jnilib
libverify.dylib
libzip.jnilib

Does that help?
Alan Shiers
Ranch Hand

Joined: Sep 24, 2003
Posts: 237
Wow, that's wonderful. Would you happen to know if there are any other files that are provided in the 1.7 jdk for Mac that don't appear in your 1.6 version? I can certainly work with this for now.

Alan
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
No idea, sorry.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
It's worth noting that Java 7 for the Mac has not actually been released yet; developer previews exist, but nothing final: http://jdk7.java.net/macportpreview/ and http://openjdk.java.net/projects/macosx-port/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: requesting java library list