Cloverleaf on an Apple Mac

Homepage Clovertech Forums Read Only Archives Cloverleaf Operating Systems Cloverleaf on an Apple Mac

  • Creator
    Topic
  • #49493
    garry r fisher
    Participant

    Hi,

    Has anybody got Cloverleaf server running natively on an Apple Mac as the underlying OS is Berkeley Unix?

    Regards

    Garry

Viewing 5 reply threads
  • Author
    Replies
    • #62209
      Ray Barnes
      Participant

      Garry,

      I’m more interested in running the gui client, just got a mac and trying to avoid Parallels or a linux part..  No luck so far, but I just started looking and will let you know what I find.  

      Cheers,

      Ray

    • #62210
      Carter Harrison
      Participant

      I built a version 5.3 client for my Macintosh (OS 10.5.5).  It works perfectly but I will admit that it was a real pain to create.  I’m in the process of building a client for 5.6 now.  If you would like a copy I’d be happy to send it on over.

    • #62211
      Carter Harrison
      Participant

      Oh, and as a follow-up to the original poster.  You will not be able to install the Cloverleaf server on a Macintosh.  The reason for this is that the OS is based upon BSD and has an entirely different kernel (Mach) than Linux and AIX.

    • #62212
      Josh Deere
      Participant

      Hate to bump on old thread, but has anyone successfully ported the client install for 5.7 or 5.8?

      I’ve been working with getting 5.7 to run, but wanted to see if anyone out there has had success before I reinvent the wheel.

    • #62213
      Carter Harrison
      Participant

      Josh,

      It should be possible given that the Cloverleaf client is a Java application.  I’m running a 5.6 Cloverleaf client on OS X 10.6.6.  It works pretty well aside from some occasional quirky window resizing issues.

      The big problem is that Cloverleaf 5.6 needs Java 1.5.0 (or earlier) for the NetConfig to work properly.  The reason for this is that the Cloverleaf developers decided to use the deprecated SwingUtilities2 java class and after version 1.5.0, that class is no longer available in Java.  Trying to run Cloverleaf with version 1.6 will result in a NoClassDefFoundException when you try to right click on a thread in the NetConfig and click Thread Properties.

      Anyway the big problem with all of this is that current version of OS X only come with JRE 1.6, so you will have to obtain a copy of JRE 1.5 from an earlier version of OS X and copy it to /System/Library/Frameworks/JavaVM.Framework/Versions.  You’ll see in that folder that there is a symlink for version 1.5.0 but it really just points to the folder that contains 1.6.0.  You have to delete the symlink and copy in the JRE 1.5.0 from an earlier OS Release.

      Anyway, if you are lucky, Cloverleaf 5.7/5.8 will be capable of using a newer version of the JRE.  If that’s the case then you will be in much better shape.

      Once you do all that you can start testing things out.  Open a shell window and set the HCIROOT profile variable:

      > export HCIROOT=/path/to/cloverleaf/client/directory

      then you can try to run hciaccess

      > cd $HCIROOT/clgui/bin

      > ./hciaccess &

      If you can get the GUI running this way without any issues then the next step is to install the OS X Developer Tools and use the Jar Bundler utility which allows you to build an OS X application bundle out of a Java application.  For me using the Jar Bundler was a trial and error thing, but I eventually got everything working.

      I completely agree it’s a lot of work, but when you get it working it is wonderful and so nice to have an icon you can launch from your dock to get the GUI up and running.  I even found a nice icon of a 4 leaf clover that I use for the Cloverleaf app bundle.

      Good luck.  If you need additional help give me a hollar: carter_harrison@bshsi.org

    • #62214
      Carter Harrison
      Participant

      I decided to write a howto on getting the Cloverleaf client to run on a Mac.  Here is the link:

      http://clovertech.infor.com/viewtopic.php?p=22699#22699” class=”bbcode_url”>http://clovertech.infor.com/viewtopic.php?p=22699#22699

Viewing 5 reply threads
  • The forum ‘Operating Systems’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,296
Replies
34,439
Topic Tags
287
Empty Topic Tags
10