Java and c++ on mac OS X

Hi
I need to access from java to c++ code on mac OS X.
How do I define the methos in the java code and in c++ code?
Is it the same way like with PC?
Can anyone give me a short example of how can i do it?
Do you know good links with good examples about this issue?
Thanks very much

Check out
http://www.onjava.com/pub/a/onjava/2003/10/08/macosxjava.html
Good Luck
Lee

Similar Messages

  • PHP, Java, and Safari weirdness (Mac Web Genius needed)

    If you know a good deal about the three, visit this thread:
    http://wordpress.org/support/topic/46465
    The basic question boils down to: is this a Safari issue, or a code error. If you see the error, please suggest a solution.
    Thank you.

    "After reading your post at the WP support forum, it obviously looks like the code you're using works by itself. It's only after you add it into the WP "loop" that it breaks. This is definitely not an issue with Safari, but an issue with other browsers which are not as strict with standards."
    Respectfully, this is a backwards conclusion. I've add this exact javascript to 2 WordPress blogs and 1 PHP board.
    1. The Javascript works fine in one blog, all browsers.
    2. Only Safari can't properly load the same script in another blog. (the one in question)
    3. The Java script works fine in my PHP board, all but for one browser: Safari
    Logical conclusions:
    A. Something about the chosen themes in that one WP and PHP don't play nice with Safari (though different themes from different developers are unlikely to make the same mistake)
    B. Safari doesn't play nice with something in PHP, since it screws up both a WP blog and PHPboard. Remember, Opera and Firefox can run these sights fine, and IE nearly so.
    Right?

  • Ive recently updated my mac to OS X 10.10 and now my CS5 illustrator and photoshop will not open...  I uploaded the most recent Java and they still won't open.  Please help

    Ive recently updated my mac to OS X 10.10 and now my CS5 illustrator and photoshop will not open...  I uploaded the most recent Java and they still won't open.  Please help

    Mac,
    Nothing shows up here?
    https://www.adobe.com/account/my-products-services.html#
    With CS5 you must have registered, hopefully under your present Adobe ID.
    I am afraid the chat and phone support are off until the beginning of January.
    Serial number and activation support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service1.html
    Adobe ID and registration support (non-CC, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-c1.html
    http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html

  • Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash

    Hi!
    I need kelp, Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash.
    Then I moved to a different carpet plugin files that look like this and didn't worked.

    I have no idea about the second part of your question but as for Java you need to install the Apple Java for OSX 2014-001. Look for it on the Apple site.

  • Setting the Brushed Metal look and feel for macs using Java.

    Hello,
    I am relatively new to Java and I am new to Mac-specific java stuff. Anyways, when I try to set the look and feel of my classes to the "apple.awt.brushMetalLook" look and feel, I am unable to. It works if I have System.setProperty("apple.awt.brushMetalLook", "true"); written before I create any swing component. This would be fine, except that means that it is impossible to extend any swing component, such as JFrame or JApplet. Is there a way around this?
    Thanks!

    This might answer your question:
    http://lists.apple.com/archives/Java-dev/2003/Apr/msg00829.html

  • What are the better IDE's for Mac (Java and C++)?

    I'm switching over to Mac's here soon and I'm curious about which products are the best, from others' experiences, for developing Java and C++ applications. On Windows I used NetBeans and IntelliJ (although not as much), but I'm curious if there is Mac specific software that someone might recommend.

    Both of the above work fine on Mac (I used IntelliJ exclusively for Java development).  For C++ I use Qt Creator and sometimes Xcode.

  • I have a Mac os x 10.7.4 which has Java 32 and 64 bit installed.  Am unable to deposit to bank online getting a message stating I need Java 32 bit for Mac, confused???

    I just got a MAC OS X 10.7.4 which has Java 32 and 64 bit installed.  Am unable to make deposits on line.  I get a msg stating it appears I am using 64 bit java and I need 32 bit java for MAC. I have changed order of java in preferences but it does not make a difference.  Suggestions?

    MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
    Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.

  • I have a MAC, Ive just installed OS10.10.3 operating system in it and I can't open Photoshop.  This is a wide spread problem that involves Java and Photoshop software.  Since you produce both these products , I turn toward you to direct me to the best "Fi

    I have a MAC, Ive just installed OS10.10.3 operating system in it and I can't open Photoshop.  This is a wide spread problem that involves Java and Photoshop software.  Since you produce both these products , I turn toward you to direct me to the best "Fix"?

    Go here Mac OS X Yosemite (10.10) compatibility FAQs | CC

  • I just ran a software update for Java and MacBook Pro SMC, now my Mini Display Port to HDMI TV is not working. The TV is flickering. The Mac Display is fine.

    I was just watching / streaming TV off Safari on my actual TV.
    I'm using a Mini-Display Port to HDMI cable for the connection to the external display.
    Software update popped-up and said there was an update for Java and for SMC.
    I ran the update and upon the computer restarting, my external display (my TV) is no longer working. It is now flickering.
    It won't work in Mirroring or set up as an extended display.
    I've reset SMC / PRAM / Safe Mode / Even restored from a Time Machine backup (From before the updates were done).
    What could it be?!

    I keep saying this over and over, in the hope that people who do a search will find it.  Apple cannot possibly test for or be reponsible for the bazillion combinations of adapter, cables, and TV's out there.  The only monitors that are 100% guaranteed to work with the MacBook Pro are the Cinema Displays and Thunderbolt Displays, because, they're made by Apple.  They're expensive, but they work perfectly.
    My guess is that you bought a cheap MDP to HDMI cable, or have a defective one.  From my reading of these boards over the past few months, cheap cables have a high failure rate.  And the regular priced ones have only a slightly less of one.  Try a new one.  Make sure you do not damage the Thunderbolt port.

  • Why java and adobe are not working in my mac?

    I have been trying to download Java and Adobe unsuccessfully. There were working before.
    When I check the applications the logos are there, but I can't open pages that require  Java or Adobe.
    Every time I download the programs it tells me that there where no problems with the download. When I press the bottom to verify the program it says that there was a  problem. Please Help!!!!

    IIf the strange SMS are coming from known contacts, that's normal for iMessages that don't arrive and are converted to text.  Don't know why but it happens when my bf is overseas and his company phone can't access data - the iMessages he tries to send have a lot of symbols when they come as text but none when the finally arrive as iMessages.  Usually it's mostly lots of @@@@@@.
    if you didn't buy the phone new, the previous owner may still be linked to the phone and they are his/her messages you are getting.  I have seen a lot of posts about this on various forums and can't remember the fix but it's to do with iTunes and you may need to contact the previous owner. 
    if you did buy the phone new,check with the store that it wasn't used as a demo model.  They may be able to assist you setup your messages.  If not, you may need to search for solutions online or hopefully someone else who's had the exact issue may be able to help you here.  Good luck.

  • Java update 1 for MAC OS 10.6 caused problems

    Hello,
    Today I installed the new java update 1 for Mac OS 10.6 and my eclipse is no longer working.
    Actually, the eclipse itself is starting up okay, the problem is when I try to startup jboss AS to start working I get the following error:
    ERROR: This jdwp native library will not work with this VM's version of JVMTI (1.0.36), it needs JVMTI 1.1[.102].
    This happened right after I installed the update.
    To make things more complicated, my workspace in eclipse is set to compile/deploy with a JDK 5 installation I have. Since the update was supposed to only affect the JDK 6 that comes with Snow Leopard, and I'm not using it to run JBoss AS in eclipse, in theory there shouldn't be any problem.
    The eclipse itself is running on JDK 6, however.
    Anyone have a clue? Unfortunately I'm not using time machine and cannot revert the update.

    I updated my Snow Leopard on Friday 4th, and since that moment i can't run MyEclipse 7.5, and i get this message:
    Process: myeclipse [252]
    Path: /Library/Genuitec/MyEclipse 7.5/myeclipse.app/Contents/MacOS/myeclipse
    Identifier: org.eclipse.eclipse
    Version: 3.4 (3.4)
    Code Type: X86 (Native)
    Parent Process: ??? [1]
    Date/Time: 2009-12-06 11:07:46.588 +0100
    OS Version: Mac OS X 10.6.2 (10C540)
    Report Version: 6
    Interval Since Last Report: 139693 sec
    Crashes Since Last Report: 12
    Per-App Interval Since Last Report: 36592 sec
    Per-App Crashes Since Last Report: 10
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
    Crashed Thread: 3
    Thread 0: Dispatch queue: com.apple.main-thread
    0 libzip.jnilib 0x00548c32 0x547000 + 7218
    1 libzip.jnilib 0x00551db5 ZIP_ReadEntry + 387
    2 libclient.dylib 0x11aa841c 0x11a00000 + 689180
    3 libclient.dylib 0x11aa80a2 0x11a00000 + 688290
    4 libclient.dylib 0x11a55251 0x11a00000 + 348753
    5 libclient.dylib 0x11a54294 0x11a00000 + 344724
    6 libclient.dylib 0x11af1318 0x11a00000 + 987928
    7 libclient.dylib 0x11b1ad43 0x11a00000 + 1158467
    8 libclient.dylib 0x11b1f02b 0x11a00000 + 1175595
    9 ??? 0x1390e9f3 0 + 328264179
    10 ??? 0x13900227 0 + 328204839
    11 libclient.dylib 0x11b1931a 0x11a00000 + 1151770
    12 libclient.dylib 0x11b19036 0x11a00000 + 1151030
    13 libclient.dylib 0x11b18fdb 0x11a00000 + 1150939
    14 libclient.dylib 0x11b18a1b 0x11a00000 + 1149467
    15 libclient.dylib 0x11b187ab 0x11a00000 + 1148843
    16 libclient.dylib 0x11b1b64b 0x11a00000 + 1160779
    17 libclient.dylib 0x11b20b02 0x11a00000 + 1182466
    18 libclient.dylib 0x11b20a92 0x11a00000 + 1182354
    19 libclient.dylib 0x11af2a25 0x11a00000 + 993829
    20 libclient.dylib 0x11af1fae 0x11a00000 + 991150
    21 libclient.dylib 0x11af1e03 0x11a00000 + 990723
    22 libclient.dylib 0x11af1c29 0x11a00000 + 990249
    23 libclient.dylib 0x11af2bd9 0x11a00000 + 994265
    24 libclient.dylib 0x11ae92e0 0x11a00000 + 955104
    25 libclient.dylib 0x11a0e414 0x11a00000 + 58388
    26 libclient.dylib 0x11a016d3 0x11a00000 + 5843
    27 libclient.dylib 0x11bf6d49 JNICreateJavaVMImpl + 185
    28 eclipse_1115.so 0x0007d2e5 startJavaJNI + 202
    29 eclipse_1115.so 0x0007c3b7 startJavaVM + 119
    30 eclipse_1115.so 0x00079aa7 run + 1342
    31 org.eclipse.eclipse 0x00001e9e original_main + 884
    32 org.eclipse.eclipse 0x00002770 main + 768
    33 org.eclipse.eclipse 0x00001b0e _start + 216
    34 org.eclipse.eclipse 0x00001a35 start + 41
    Thread 1: Dispatch queue: com.apple.libdispatch-manager
    0 libSystem.B.dylib 0x968740ea kevent + 10
    1 libSystem.B.dylib 0x96874804 dispatch_mgrinvoke + 215
    2 libSystem.B.dylib 0x96873cc3 dispatch_queueinvoke + 163
    3 libSystem.B.dylib 0x96873a68 dispatch_workerthread2 + 234
    4 libSystem.B.dylib 0x968734f1 pthreadwqthread + 390
    5 libSystem.B.dylib 0x96873336 start_wqthread + 30
    Thread 2:
    0 libSystem.B.dylib 0x96873182 _workqkernreturn + 10
    1 libSystem.B.dylib 0x96873718 pthreadwqthread + 941
    2 libSystem.B.dylib 0x96873336 start_wqthread + 30
    Thread 3 Crashed:
    0 libclient.dylib 0x11afee4e 0x11a00000 + 1044046
    1 libclient.dylib 0x11afe86c 0x11a00000 + 1042540
    2 libclient.dylib 0x11afe7ed 0x11a00000 + 1042413
    3 libclient.dylib 0x11afe78b 0x11a00000 + 1042315
    4 libclient.dylib 0x11afe619 0x11a00000 + 1041945
    5 libSystem.B.dylib 0x968b954c machmsgserver + 380
    6 libclient.dylib 0x11a0eb75 0x11a00000 + 60277
    7 libclient.dylib 0x11a0e935 0x11a00000 + 59701
    8 libclient.dylib 0x11cc54f5 JVM_RaiseSignal + 441397
    9 libSystem.B.dylib 0x96943e52 pthreadbody + 27
    Thread 3 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x11afee3b ecx: 0x00000000 edx: 0x00000009
    edi: 0x000e2000 esi: 0x00000000 ebp: 0xb0184d38 esp: 0xb0184d24
    ss: 0x0000001f efl: 0x00010206 eip: 0x11afee4e cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
    cr2: 0x00000000
    Binary Images:
    0x1000 - 0x3fff +org.eclipse.eclipse 3.4 (3.4) /Library/Genuitec/MyEclipse 7.5/myeclipse.app/Contents/MacOS/myeclipse
    0x79000 - 0x8104b +eclipse_1115.so ??? (???) /Library/Genuitec/Common/plugins/org.eclipse.equinox.launcher.carbon.macosx1.0.101.R34x_v20080731/eclipse1115.so
    0xb6000 - 0xbdff7 com.apple.JavaVM 13.1.0 (13.1.0) <2842C4EE-869D-81E6-E771-062F583A1044> /System/Library/Frameworks/JavaVM.framework/JavaVM
    0xe4000 - 0xecff7 libverify.dylib ??? (???) <0E0C6835-68C5-A72F-8CA0-77857B632513> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libverify. dylib
    0x500000 - 0x507ff7 JavaNativeFoundation ??? (???) <1107BBC2-DFC1-CF1F-44EE-27F7D4349BE6> /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFou ndation.framework/Versions/A/JavaNativeFoundation
    0x518000 - 0x535ff7 libjava.jnilib ??? (???) <C4C57812-6A25-85AB-441B-DE1A71A8DF18> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libjava.jn ilib
    0x547000 - 0x553ff7 libzip.jnilib ??? (???) <1317EACC-2494-70C3-4B43-FC9D04579EAF> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libzip.jni lib
    0x11a00000 - 0x11d50ffb libclient.dylib ??? (???) <A1BC00EA-6C14-2A98-3CA4-CA910B38771C> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard/Libraries/li bclient.dylib
    0x13000000 - 0x133f6fe7 libclient.dylib ??? (???) <6B8B4A7E-2844-3AD6-239E-122121D37485> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries/libclient. dylib
    0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <211AF0DD-42D9-79C8-BB6A-1F4BEEF4B4AB> /usr/lib/dyld
    0x900c6000 - 0x900c9ff7 libCoreVMClient.dylib ??? (???) <A89D7A78-8FB0-2BDF-30DB-A35E04A6186B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
    0x90121000 - 0x90125ff7 libGIF.dylib ??? (???) <83FB0DCC-355F-A930-E570-0BD95086CC59> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x90484000 - 0x9048eff7 libGL.dylib ??? (???) <76A207FE-889A-CF1B-AF9A-795EEE5A463E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x9048f000 - 0x9048fff7 com.apple.Carbon 150 (152) <608A04AB-F35D-D2EB-6629-16B88FB32074> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x90490000 - 0x904d4ff3 com.apple.coreui 2 (113) <D0FA9B36-3708-D5BF-0CC3-6CC1909BC8E6> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x90557000 - 0x905b1ff7 com.apple.framework.IOKit 2.0 (???) <1BE07087-27D5-0E62-F06B-007C2BED4073> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90de8000 - 0x90e38fe7 libGLU.dylib ??? (???) <659ADCA2-10EC-59BD-1B0A-4928A965F1D1> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x90e39000 - 0x91717ff7 com.apple.AppKit 6.6.3 (1038.25) <72A9AA47-8DCB-DB07-64F5-F837E98C62D8> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x91718000 - 0x9174dff7 libcups.2.dylib ??? (???) <BE4E095C-EECA-017E-11AA-C65F4D2B15C8> /usr/lib/libcups.2.dylib
    0x9174e000 - 0x91754fff com.apple.CommonPanels 1.2.4 (91) <2438AF5D-067B-B9FD-1248-2C9987F360BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x91755000 - 0x91775fe7 com.apple.opencl 12 (12) <2DB56F60-577B-6724-5708-7B082F62CC0F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x91776000 - 0x91779fe7 libmathCommon.A.dylib ??? (???) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
    0x9177a000 - 0x9179afe7 libresolv.9.dylib ??? (???) <A48921CB-3FA7-3071-AF9C-2D86FB493A3A> /usr/lib/libresolv.9.dylib
    0x917dd000 - 0x91857fef com.apple.audio.CoreAudio 3.2.2 (3.2.2) <1F97B48A-327B-89CC-7C01-3865179716E0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x91858000 - 0x91870ff7 com.apple.CFOpenDirectory 10.6 (10.6) <1537FB4F-C112-5D12-1E5D-3B1002A4038F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
    0x91871000 - 0x91871ff7 com.apple.CoreServices 44 (44) <AC35D112-5FB9-9C8C-6189-5F5945072375> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x91879000 - 0x918c6feb com.apple.DirectoryService.PasswordServerFramework 6.0 (6.0) <BF66BA5D-BBC8-78A5-DBE2-F9DE3DD1D775> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
    0x91902000 - 0x9199efe7 com.apple.ApplicationServices.ATS 4.1 (???) <EA26375D-8276-9671-645D-D28CAEC95292> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x919df000 - 0x919fbfe3 com.apple.openscripting 1.3.1 (???) <DA16DE48-59F4-C94B-EBE3-7FAF772211A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x919fc000 - 0x91c6cffb com.apple.Foundation 6.6.1 (751.14) <CD815A50-BB33-5AA1-DD73-A5B07D394DDA> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x91c80000 - 0x91d33fff libFontParser.dylib ??? (???) <FAD5E96D-CF93-CC86-6B30-A6594B930772> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x91d8d000 - 0x921a3ff7 libBLAS.dylib ??? (???) <C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x921a4000 - 0x924c7fef com.apple.HIToolbox 1.6.2 (???) <E02640B9-7BC3-A4B4-6202-9E4127DDFDD6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x924c8000 - 0x925baff7 libcrypto.0.9.8.dylib ??? (???) <792B8722-3091-5E9F-E25F-67499CFE0599> /usr/lib/libcrypto.0.9.8.dylib
    0x925bb000 - 0x925cdff7 com.apple.MultitouchSupport.framework 204.9 (204.9) <B639F02B-33CC-150C-AE8C-1007EA7648F9> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
    0x925ce000 - 0x925d8fe7 com.apple.audio.SoundManager 3.9.3 (3.9.3) <5F494955-7290-2D91-DA94-44B590191771> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x92a9b000 - 0x92aa9fe7 libz.1.dylib ??? (???) <7B7A02AB-DA99-6180-880E-D28E4F9AA8EB> /usr/lib/libz.1.dylib
    0x92aaa000 - 0x92ad0fff com.apple.DictionaryServices 1.1.1 (1.1.1) <02709230-9B37-C743-6E27-3FCFD18211F8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
    0x92b1a000 - 0x92b1aff7 com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x92b21000 - 0x92b85ffb com.apple.htmlrendering 72 (1.1.4) <4D451A35-FAB6-1288-71F6-F24A4B6E2371> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x92b86000 - 0x92c60ff3 com.apple.DesktopServices 1.5.3 (1.5.3) <DA02AC94-7B0C-BD75-2305-C46A307A5FB0> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x92e66000 - 0x92f30fef com.apple.CoreServices.OSServices 352 (352) <D9F21CA4-EED0-705F-8F3C-F1322D114B52> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x930a3000 - 0x930e7fe7 com.apple.Metadata 10.6.2 (507.4) <DBCBAE7D-7B34-7806-C0B9-1E6E6D45562F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x930e8000 - 0x930e8ff7 liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib
    0x93126000 - 0x93254fe7 com.apple.CoreData 102.1 (250) <F33FF4A1-D7F9-4F6D-3153-E5F2588479EB> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x9370c000 - 0x93eef4b7 com.apple.CoreGraphics 1.536.12 (???) <263EB5FC-DEAD-7C5B-C486-EC86C173F952> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x93ef0000 - 0x93f81fe7 com.apple.print.framework.PrintCore 6.1 (312.3) <6D4322AF-703C-CC19-77B4-53E6D3BB18D4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x94120000 - 0x9443ffe7 com.apple.CoreServices.CarbonCore 861.2 (861.2) <A9077470-3786-09F2-E0C7-F082B7F97838> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x94440000 - 0x946a2ff7 com.apple.security 6.0 (36910) <32B8FA26-CD73-4C45-C15A-EF8406D51FCC> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x946a3000 - 0x946b7ffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x9471b000 - 0x94758ff7 com.apple.SystemConfiguration 1.10.1 (1.10.1) <BA676C76-6AAD-F630-626D-B9248535294D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x94759000 - 0x947c3fe7 libstdc++.6.dylib ??? (???) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
    0x94803000 - 0x9480afff com.apple.print.framework.Print 6.0 (237) <7A06B15C-B835-096E-7D96-C2FE8F0D21E1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x9484f000 - 0x948f6fe7 com.apple.CFNetwork 454.5 (454.5) <A7E78E62-0C59-CE57-73D2-C4E60527781C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x9491f000 - 0x9491fff7 com.apple.vecLib 3.5 (vecLib 3.5) <17BEEF92-DF30-CD52-FD65-0B7B43B93617> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x94925000 - 0x94939fe7 libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA-E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib
    0x9493a000 - 0x94947ff7 com.apple.NetFS 3.2.1 (3.2.1) <5E61A00B-FA16-9D99-A064-47BDC5BC9A2B> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x94b6c000 - 0x94c1aff3 com.apple.ink.framework 1.3.1 (105) <CA3FBDC3-4BBA-7BD9-0777-A7B0751292CD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x94c1b000 - 0x94c2cff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <7A3862F7-3730-8F6E-A5DE-8E2CCEA979EF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x94c2d000 - 0x94c30ffb com.apple.help 1.3.1 (41) <67F1F424-3983-7A2A-EC21-867BE838E90B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x94c31000 - 0x94cb1feb com.apple.SearchKit 1.3.0 (1.3.0) <9E18AEA5-F4B4-8BE5-EEA9-818FC4F46FD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x94cb2000 - 0x94d4afe7 edu.mit.Kerberos 6.5.9 (6.5.9) <73EC847F-FF44-D542-2AD5-97F6C8D48F0B> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x94d7e000 - 0x94d8aff7 libkxld.dylib ??? (???) <3D2C5BA3-6A8D-C861-B346-0E19942D9AF1> /usr/lib/system/libkxld.dylib
    0x94d8b000 - 0x94da9ff7 com.apple.CoreVideo 1.6.0 (43.1) <1FB01BE0-B013-AE86-A063-481BB547D2F5> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x94e42000 - 0x94e52ff7 libsasl2.2.dylib ??? (???) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib
    0x94e53000 - 0x94e9cfe7 libTIFF.dylib ??? (???) <5864AE5B-EAEB-F8B6-18FB-3D27B7895A4C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x9501b000 - 0x950c8fe7 libobjc.A.dylib ??? (???) <DF8E4CFA-3719-3415-0BF1-E8C5E561C3B1> /usr/lib/libobjc.A.dylib
    0x9537f000 - 0x953cfff7 com.apple.framework.familycontrols 2.0 (2.0) <E6CAB425-3E40-65A3-0C23-150C26E9CBBF> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
    0x953dd000 - 0x95412ff7 libGLImage.dylib ??? (???) <A6007BF7-BF3C-96DC-C435-849C6B88C58A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x95413000 - 0x9577aff7 com.apple.QuartzCore 1.6.1 (227.8) <8B90AB08-46A4-1C5C-4E71-C6AB652477B9> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x95aea000 - 0x95afffff com.apple.ImageCapture 6.0 (6.0) <3F31833A-38A9-444E-02B7-17619CA6F2A0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x95b0b000 - 0x95b10ff7 com.apple.OpenDirectory 10.6 (10.6) <92582807-E8F3-3DD9-EB42-4195CFB754A1> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x95b11000 - 0x95beeff7 com.apple.vImage 4.0 (4.0) <64597E4B-F144-DBB3-F428-0EC3D9A1219E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x95bef000 - 0x95ce5ff7 libGLProgrammability.dylib ??? (???) <82D03736-D30C-C013-BBB1-20ED9687D47F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
    0x96116000 - 0x96149ff7 com.apple.AE 496.1 (496.1) <1AC75AE2-AF94-2458-0B94-C3BB0115BA4B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
    0x961d6000 - 0x96258ffb SecurityFoundation ??? (???) <29C27E0E-B2B3-BF6B-B1F8-5783B8B01535> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x962cb000 - 0x96700ff7 libLAPACK.dylib ??? (???) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x96780000 - 0x96782ff7 libRadiance.dylib ??? (???) <462903E2-2E77-FAE5-4ED6-829AAB1980A4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x96783000 - 0x96832ff3 com.apple.ColorSync 4.6.2 (4.6.2) <F3F097AC-FDB7-3357-C64F-E28BECF4C15F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x96833000 - 0x96840ff7 com.apple.opengl 1.6.5 (1.6.5) <0AE8B897-8A80-2C14-D6FC-DC21AC423234> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x9684d000 - 0x969f1feb libSystem.B.dylib ??? (???) <D45B91B2-2B4C-AAC0-8096-1FC48B7E9672> /usr/lib/libSystem.B.dylib
    0x969f2000 - 0x96b74fe7 libicucore.A.dylib ??? (???) <2B0182F3-F459-B452-CC34-46FE73ADE348> /usr/lib/libicucore.A.dylib
    0x96c94000 - 0x96c94ff7 com.apple.Accelerate.vecLib 3.5 (vecLib 3.5) <3E039E14-2A15-56CC-0074-EE59F9FBB913> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x96c95000 - 0x96d04ff7 libvMisc.dylib ??? (???) <59243A8C-2B98-3E71-8032-884D4853E79F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x96d05000 - 0x96d06ff7 com.apple.TrustEvaluationAgent 1.1 (1) <6C04C4C5-667E-2EBE-EB96-5B67BD4B2185> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
    0x96d07000 - 0x96d07ff7 com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x96f34000 - 0x96f3effb com.apple.speech.recognition.framework 3.11.1 (3.11.1) <EC0E69C8-A121-70E8-43CF-E6FC4C7779EC> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x96f7b000 - 0x96f9dfef com.apple.DirectoryService.Framework 3.6 (621.1) <3ED4949F-9604-C109-6586-5CE5F421182B> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x96f9e000 - 0x96fa0ff7 com.apple.securityhi 4.0 (36638) <962C66FB-5BE9-634E-0810-036CB340C059> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x971a4000 - 0x97241fe3 com.apple.LaunchServices 362 (362) <8BE1C1A1-BF71-CE07-F3FB-6057D47AF461> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
    0x97242000 - 0x97243ff7 com.apple.audio.units.AudioUnit 1.6.1 (1.6.1) <3A08510C-07F7-1A09-D6ED-1A488203ACCC> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x97244000 - 0x97345fe7 libxml2.2.dylib ??? (???) <B4C5CD68-405D-0F1B-59CA-5193D463D0EF> /usr/lib/libxml2.2.dylib
    0x97366000 - 0x973acff7 libauto.dylib ??? (???) <85670A64-3B67-8162-D441-D8E0BE15CA94> /usr/lib/libauto.dylib
    0x973ad000 - 0x973d1ff7 libJPEG.dylib ??? (???) <649E1974-A527-AC0B-B3F4-B4DC30484070> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x98380000 - 0x983e0fe7 com.apple.CoreText 3.1.0 (???) <79FD1B5C-2F93-4C5D-B07B-4DD9088E67DE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x984ae000 - 0x9866afef com.apple.ImageIO.framework 3.0.1 (3.0.1) <598CF4F9-7542-E1A7-26D2-584933497A2E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x9866b000 - 0x986aeff7 com.apple.NavigationServices 3.5.3 (181) <28CDD978-030E-7D4A-5334-874A8EBE6C29> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x986e1000 - 0x9879afe7 libsqlite3.dylib ??? (???) <16CEF8E8-8C9A-94CD-EF5D-05477844C005> /usr/lib/libsqlite3.dylib
    0x988a9000 - 0x988b2ff7 com.apple.DiskArbitration 2.3 (2.3) <E9C40767-DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x988b3000 - 0x9895bffb com.apple.QD 3.33 (???) <196CDBA6-5B87-2767-DD57-082D71B0A5C7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x98b10000 - 0x98c87fef com.apple.CoreFoundation 6.6.1 (550.13) <AE9FC6F7-F0B2-DE58-759E-7DB89C021A46> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x98c88000 - 0x98c8cff7 IOSurface ??? (???) <C11D3FF3-EB51-A07D-EF24-9C2004115724> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x98dfc000 - 0x98e4dff7 com.apple.HIServices 1.8.0 (???) <B8EC13DB-A81A-91BF-8C82-66E840C64C91> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x98e4e000 - 0x98e90fe7 libvDSP.dylib ??? (???) <8F8FFFB3-81E3-2969-5688-D5B0979182E6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x990a8000 - 0x991d4fe3 com.apple.audio.toolbox.AudioToolbox 1.6.1 (1.6.1) <C226DF5C-35B0-98B8-95ED-FE5FE24E62C8> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x991fc000 - 0x99224ff7 libxslt.1.dylib ??? (???) <769EF4B2-C1AD-73D5-AAAD-1564DAEA77AF> /usr/lib/libxslt.1.dylib
    0x99226000 - 0x99241ff7 libPng.dylib ??? (???) <3F8682CD-C05B-607D-96E7-767646C77DB8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x99366000 - 0x99366ff7 com.apple.Accelerate 1.5 (Accelerate 1.5) <F642E7A0-3720-FA19-0190-E6DBD9EF2D9B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x994c1000 - 0x994c5ff7 libGFXShared.dylib ??? (???) <79F4F60E-0A6D-CE9C-282E-FA85825449E3> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
    0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <D45B91B2-2B4C-AAC0-8096-1FC48B7E9672> /usr/lib/libSystem.B.dylib
    Model: MacBook2,1, BootROM MB21.00A5.B07, 2 processors, Intel Core 2 Duo, 2.16 GHz, 1 GB, SMC 1.17f0
    Graphics: Intel GMA 950, GMA 950, Built-In, spdisplaysintegratedvram
    Memory Module: global_name
    AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x87), Atheros 5416: 2.0.19.4
    Bluetooth: Version 2.2.4f3, 2 service, 1 devices, 1 incoming serial ports
    Network Service: Ethernet incorporada, Ethernet, en0
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: FUJITSU MHW2120BH, 111,79 GB
    Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N
    USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8501, 0xfd400000
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8205, 0x7d100000
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x021b, 0x1d200000
    USB Device: USB Optical Mouse, 0x046d (Logitech Inc.), 0xc019, 0x1d100000
    USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8240, 0x5d200000

  • What path to use to access network files from Java app running on Mac

    I have a Java app running on a Mac with OS X that I'm using to check for files that exists on Windows servers within our network.
    Using a path like /Volumes/<Share>/ works because I've already connected to the drive using Finder. If I try to use a fully qualify the path with "smb://<Server>/<Share>" then my app doesn't see anything. Is there any way that I can get Java to connect to a directory without first having mapped or made the connection via some external tool like Finder?
    Here's the code I'm testing with:
    package FileImports;
    import java.io.File;
    import java.util.Arrays;
    public class Dir {
    static int indentLevel = -1;
    static void listPath(File path) {
    File files[];
    indentLevel++;
    files = path.listFiles();
    if (!(files == null)){
    Arrays.sort(files);
    for (int i = 0, n = files.length; i < n; i++) {
    for (int indent = 0; indent < indentLevel; indent++) {
    System.out.print(" ");
    System.out.println(files.toString());
    if (files[i].isDirectory()) {
    listPath(files[i]);
    indentLevel--;
    } else System.out.println("Directory not accessible!");
    public static void main(String args[]) {
    // this path works where <share> = the directory where my files exist.
    listPath(new File("/Volumes/<share>"));
    // this path returns a null result in files
    // listPath(new File("smb://<Server>/<Share>/"));
    Thanks,
    Alex
    Edited by: agates on Sep 25, 2008 11:14 AM

    agates wrote:
    Thanks for the response. I'll have to dig a little deeper into JCIFS. It looks like it would work great windows to windows. I haven't been able to find in the documentation where it would work on OS X without having to mount the targeted file system first. Has anyone had success creating a connection to a windows file system from OS X with JCIFS?Since jCIFS is written in pure Java and implements the entire SMB/CIFS protocoll on it's own it doesn't require any support from the OS (apart from a normal JVM runnig). Thus it should work exactly the same in OS X and Windows (and Linux and Solaris and ...).

  • How to install Java and Tomcat on my VPS

    Hello,
    I am new in Java.
    I would like to install Java and Tomcat on my VPS server.
    Do you know which doc or info i should read?
    Thanks a lot.
    Gil

    The free Perian will do it for you automatically.
    Additional free new machine setup stuff:
    Install and update your Flash here
    http://get.adobe.com/flashplayer/
    Install Perian (addiitonal Quicktime codecs)
    http://perian.org/
    Install the Unarchiver (uncompress software)
    http://wakaba.c3.cx/s/apps/unarchiver.html
    Flip for Mac (for Windows media in Quicktime)
    http://www.telestream.net/flip4mac-wmv/overview.htm
    VLC (plays anything just about)
    http://www.videolan.org/
    Easy Find (finds everything on a Mac)
    http://www.devon-technologies.com/download/index.html
    OnyX (maintenance, cleanup, repair utility)
    http://www.titanium.free.fr/

  • Java update 51 for Mac OS X 10.6 causes several programs to break, will there be an update for 10.6? I saw that there is one for OS x 10.7 available, but not for any earlier versions

    Can anyone tell me if there will be such an update soon, and possible when we can expect this?
    Thanks!

    Yes, it's Java update 16 for Mac OS 10.6 that broke lots of stuff.  The 51 comes from it updating Java to 1.6_51.  There is an update to the update for 10.7 and up posted, but is there one for 10.6?
    UPDATE:  Never mind.  If you go to the download page for Java update 16, it appears that it has been silently updated.  Although there isn't any indication of the fact that it has been fixed, the build number is different (20.51-b01-457 instead of -456).

  • SunPKCS11 and NSS on Mac OS X 10.5

    Hello there,
    I've been scratching my head the whole day about how to use the SunPKCS11 provider and Mozilla's NSS framework under Mac OS X 10.5 (a.k.a Leopard).
    Let me replay the whole movie for you...
    So here I am, religiously following Sun's guidelines ([Java PKCS11 reference guide|http://java.sun.com/javase/6/docs/technotes/guides/security/p11guide.html#NSS]).
    I have of course compiled and installed [Mozilla's NSS and NSP|http://www.mozilla.org/projects/security/pki/nss/].
    So far, so good. Now, I followed Sun's instruction and wrote a configuration file for the SunPKCS11 provider. It looks like this:
    name = NSS
    nssLibraryDirectory = /Users/<path_to_lib_dir>/lib
    nssDbMode = noDb
    attributes = compatibilitywhere <path_to_lib_dir> refers of course to the real path on my Leopard machine.
    To test my setup, I use a trivial program that I've found in this very forum if I remember correctly. Here is the error I (violently!) get when trying to run it:
    $ java6 -cp /Users/<path_to_my_classes>/*:. MySmallProgram
    java.security.ProviderException: Could not initialize NSS
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:183)
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:86)
         at MySmallProgram.test_nss_with_sunpkcs(MySmallProgram.java:214)
         at MySmallProgram.main(MySmallProgram.java:255)
    Caused by: java.io.FileNotFoundException: /Users/<path_to_lib_dir>/lib/libnss3.jnilib
         at sun.security.pkcs11.Secmod.initialize(Secmod.java:169)
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:179)
         ... 3 moreOf course, I checked the content of the /Users/<path_to_lib_dir>/lib/ directory and... I got a whole bunch of NSS libraries but not the one SunPKCS11 is looking for. I got a libnss3.dylib library (the equivalent to libnss3.so on a "regular" Unix machine) but no jnilib library. And indeed, why should I have a JNI library? I thought that the purpose of SunPKCS11 was to provide the JNI stuff required to bridge the gap between Java and native libraries.
    After that, I tried to install [Mozilla's JSS|http://www.mozilla.org/projects/security/pki/jss/] but all I get is a libjss4.jnilib library and nothing like a libnss3.jnilib.
    So, any guess about what's going on? Should I really have a JNI library instead of a pure, standard C library?
    Any help will be reaaally appreciated.
    Regards,
    Ctrl-x-53

    You shouldn't be calling System.loadLibrary...The SunPKCS11 provider loads all that up for you. You don't need to explicitly load ANY native libraries to use this.
    Code-wise, all I do is:
    Provider nss = new sun.security.pkcs11.SunPKCS11("c:/nss/nss.cfg");
    Security.insertProviderAt(nss, 1);the contents of c:/nss/nss.cfg:
    name = nss
    nssLibraryDirectory = /nss
    nssSecmodDirectory = /nss
    nssModule = keystoreIn /nss I have all the NSS and NSPR libraries (and .chk files) and I created a new db with certutil.
    At that point you can either pass the provider object around or I think it names them all "PKCS11-<name>" so in my case "PKCS11-nss". You can have several different SunPKCS11 providers installed and active at one time.
    Oh and it shouldn't be any problem that you compiled NSS/NSPR as 64-bit libraries as long as everything else (like the JVM) is 64 bit. You will run into problems trying to mix and match but it should work fine all 64-bit.
    Edited by: dstutz on Jul 15, 2008 7:25 AM
    And now reading stuff again...you say it all works fine on linux. Maybe it's just something about how you've compiled it? I don't have any experience with OS-X. I would recommend posting to the mozilla.dev.tech.crypto newsgroup or join the mailing list at [https://lists.mozilla.org/listinfo/dev-tech-crypto|https://lists.mozilla.org/listinfo/dev-tech-crypto] and asking the NSS developers directly.
    Edited by: dstutz on Jul 15, 2008 7:26 AM

Maybe you are looking for

  • Macbook Air Random crashing

    Hi Folks I have been having some major issues with my Macbook Air (mid 2011, Yosemite 10.10.1, 1.6GHZ core i5, 2 GB 1333 MHz DDR3) It randomly crashes during use. Programs stop working and then the spinning beachball pops up for a few seconds before

  • How can I put Lightroom 4 video into a format for viewing on DVDs?

    I have made as slideshow in Lightroom 4. It translates well into MP4. This MP4 file runs on some computers and all BluRay players I've tested. I want this slideshow to play on all DVD playeres. How can I take the MP4 file... and make it into an AVI o

  • Not able to access Safe Mode nor boot off of Tiger DVD

    I am running an iMac with Tiger 10.4.11. After doing an update of software I cannot boot. I have not been able to access Safe Mode or boot off a Tiger DVD. With DVD inserted I wait till I hear the bong noise then I press the letter C. It thinks for a

  • HELP: java.lang.IllegalStateException: Response has already been committed

    I have a little problem. I'm trying to draw a graph is JSP. And I did it. I'm my computer works fine with no problems. But I have a server and when I try to run the program there it appears this error message. My computer : Pentium 4 1.6 GHz O/S : Wi

  • Database Control - Dynamically setting the @jc.sql statement 'attribute' ?

    Hi, I have a JCX file that extends a database control. I wan't to be able to set the @jc.sql statement 'attribute' value dynamically. There does not seem to be a setProperty() api in the DatabaseControl (interface) like there is in some other types o