Results 1 to 4 of 4

Thread: Location of ICEJ_HOME on Red Hat?

  1. #1
    Chucko is offline Registered User
    Name: Chuck Fry
    Organization: Dell Services Federal Gov't @ NASA Ames
    Project: Autonomous Mission Operations
    Join Date
    Jun 2011
    Location
    NASA Ames Research Center, Moffett Field, CA
    Posts
    8

    Question Location of ICEJ_HOME on Red Hat?

    What is the standard location of ICEJ_HOME on Red Hat Enterprise Linux 5? I can't seem to find this in the documentation.

    Our local Linux geeks installed via 'yum', and the jars wound up in /usr/share/java. Is this the usual location? How do I reconcile this with $ICEJ_HOME/lib in an Ant build.xml file?

    Thanks from an Ice-on-Linux n00b.

    edit: 'jum' -> 'yum'
    Last edited by Chucko; 07-12-2011 at 07:10 PM. Reason: tpyo

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Chuck,

    I confirm /usr/share/java is the expected (and only) directory where Ice jar files are installed when using RPMs on Linux.

    $ICEJ_HOME is not an environment we define or use. It sounds like you need to update your ant build.xml file to detect where Ice is installed, and work when Ice.jar is installed in /usr/share/java.

    We do this in the 'common.xml' file included in the demos, however, I am sure you could do simpler.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    Chucko is offline Registered User
    Name: Chuck Fry
    Organization: Dell Services Federal Gov't @ NASA Ames
    Project: Autonomous Mission Operations
    Join Date
    Jun 2011
    Location
    NASA Ames Research Center, Moffett Field, CA
    Posts
    8
    Thank you Bernard. The pointer to the common.xml file is a big help. I'm also a novice at ant build.xml files and the example of conditional property settings is something I can use.

    Is the installation layout on the various platforms documented anywhere?

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Chuck,

    I just checked, and no, we do not include a description of the installation layout in our documentation.

    Overall, there are 2 layouts:

    - Linux RPMs, with binaries installed in various /usr directories (/usr/bin, /usr/lib, /usr/share/java...) We try to use the default/recommended locations for each file type.

    To list the files in an installed RPM, use rpm -ql <rpm>, e.g. rpm -ql ice-java.

    - other platforms (Windows, Mac OS X, Solaris), with everything installed in the same directory
    for example: /opt/Ice-3.4.2/bin, /opt/Ice-3.4.2/lib, /opt/Ice-3.4.2/include etc.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installing Ice 3.3.1 on Red Hat Enterprise 5
    By genetics_lab in forum Help Center
    Replies: 8
    Last Post: 07-28-2010, 03:29 PM
  2. Building Ice-3.3.0 on Red Hat 9
    By pjtait in forum Help Center
    Replies: 19
    Last Post: 09-10-2008, 06:09 AM
  3. Red Hat Enterprise Linux 5 support
    By bernard in forum Announcements
    Replies: 0
    Last Post: 06-13-2007, 04:54 PM
  4. Build error on Red Hat Linux (kernel:2.4.18)
    By rc_hz in forum Help Center
    Replies: 3
    Last Post: 11-26-2005, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •