Alvar,

It is not possible to use Apple's 64 bit Java 1.6 VM with Apple's 32 bit
carbon libraries. Since there is neither a 32 bit Java 1.6 VM, nor a 64 bit
port of Carbon, the only work around available to you at the moment is to
use Java 5.

We're in the process of porting SWT to Cocoa which is compatible with
Apple's 64 bit VMs.
http://www.eclipse.org/swt/cocoaport.php

Kevin



                                                                       
             "Alvar Mercade"                                           
             <[EMAIL PROTECTED]                                         
             .com>                                                      To
             Sent by:                  <[email protected]>      
             platform-dev-boun                                          cc
             [EMAIL PROTECTED]                                           
                                                                   Subject
                                       [platform-dev] Problem porting to
             07/29/2008 05:02          Mac                             
             AM                                                        
                                                                       
                                                                       
             Please respond to                                         
             "Eclipse platform                                         
                  general                                              
             developers list."                                         
             <[EMAIL PROTECTED]                                         
                 ipse.org>                                             
                                                                       
                                                                       




      Hi!

      I?m Àlvar Mercadé. At work I?m doing the port of a design application
      based on Eclipse RCP which is written in Java 1.6. I?ve installed the
      Java Update for our Mac Mini with Leopard and I have put Java 1.6 as
      the default JavaVM in the ?Java Preferences.app?. When I try to
      launch the application it show a window ?JVM terminated? then shows
      error code = -1 and finally the list of parameters of the virtual
      machine. Also I have tried to put in the Info.plist file inside
      startup.app this line:


<string>-vm</string><string>/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0
/Commands/java</string>

      This line is placed between the <array> tag an the </array> tag at
      the end of the file. Also I have tried to launch the application from
      a Unix terminal and it shows the same window but in the terminal it
      says:

                  _NSJVMLoadLibrary: NSAddLibrary failed for
                  /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0
/Libraries/libjvm.dylib
                  JavaVM FATAL: Failed to load the jvm library.


        Anybody knows what is happening ??


        Thanks for your attention.
 _______________________________________________
platform-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/platform-dev

<<inline: graycol.gif>>

<<inline: pic06651.gif>>

<<inline: ecblank.gif>>

_______________________________________________
platform-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/platform-dev

Reply via email to