On the Mac, there is an application in the  /Applications/Utilities directory 
called "Java Preferences".  Using this will allow you to change which JVM will 
be used.

Bruce
On Sep 16, 2010, at 12:10 PM, Juergen Hesse wrote:

> Hello!
> 
> Thanks to the 64 bit ooRexx version for MacOSX from CVBruce (many thanks to 
> you again!!!) we were able to compile a 64 bit libBSF4ooRexx and were even 
> able to successfully run BSF4ooRexx-Programs on Mac!!!
> 
> Unfortunately, the 32 bit version still makes the same problems as before. At 
> the moment we think, that the problem may be related to the Mac's Java 
> version but we are not 100% sure about this.
> 
> We'll keep you informed as we proceed.
> 
> 
> Yours,
> 
> Juergen Hesse, Manuel Paar.
> 
> 
> 
> Am 12.09.2010 um 16:56 schrieb Juergen Hesse:
> 
>> Hello!
>> 
>> My colleague Manuel Paar and I are trying to create One-Click-Installers for 
>> ooRexx and BSF4ooRexx for Windows, Linux and MacOSX. 
>> So far, we have managed to compile BSF4ooRexx.cc on MacOSX using the 
>> attached Makefile. During compilation we get *no* errors but when we launch 
>> a BSF for ooRexx program using rexxj2.sh we get a segmentation fault:
>> 
>> --------------------------------------------------------------------------------------------------------------------
>> Jurgen-Hesses-MacBook:classicRexxSamples juergenhesse$ rexxj2.sh 
>> Greetings.rxj
>> This Rexx program was invoked by Java!
>> Invalid memory access of location 0x0 eip=0x0
>> 
>> /usr/bin/rexxj2.sh: line 36:  1088 Bus error               java 
>> org.rexxla.bsf.RexxDispatcher $*
>> aha 
>> --------------------------------------------------------------------------------------------------------------------
>> 
>> We are using 32 bit ooRexx (Version 4.0.1) and are compiling BSF4ooRexx in 
>> 32 bit mode (see the attached Makefile). Furthermore, we told MacOSX to use 
>> Java in 32 bit mode.
>> 
>> Compiling the attached BSF4ooRexx.cc creates the libBSF4ooRexx.dylib file in 
>> 32 bit mode. The lipo-tool gives the following output:
>> 
>> --------------------------------------------------------------------------------------------------------------------
>> Jurgen-Hesses-MacBook:BSF4ooRexx juergenhesse$ lipo -info 
>> libBSF4ooRexx.dylib 
>> Non-fat file: libBSF4ooRexx.dylib is architecture: i386
>> --------------------------------------------------------------------------------------------------------------------
>> 
>> As you can see, we are running all components in 32 bit (i386) mode but 
>> still get a segmentation fault.
>> 
>> We do not really know, what's the problem.
>> 
>> Therefore we would be really thankful if anyone could supply us with 
>> information on how to solve this issue.
>> 
>> Thanks in advance.
>> 
>> Yours,
>> 
>> Juergen Hesse, Manuel Paar.
>> 
>> 
>> <BSF4ooRexx.cc><mac_bsf4rexx-32.mak>------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Oorexx-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to