Results 1 to 9 of 9

Thread: compiling the zimbrasourcecode

  1. #1
    ravinder is offline Member
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    9

    Exclamation compiling the zimbrasourcecode

    while compiling zimbra souce code using make i got an error
    The order of commands i executed are
    cd /zcs/zimbrabulild/
    make clean
    make
    given error is:
    -----------------------------------------------------
    Buildfile: build.xml

    build-init:

    compile:
    [javac] Compiling 715 source files to /root/Desktop/zimbra/zcs-src/ZimbraServer/build/classes

    BUILD FAILED
    /root/Desktop/zimbra/zcs-src/ZimbraServer/build.xml:268: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    -----------------------------------------------------------------------------------------------
    but i am able to execute java files from that directory
    javaclass path is also set
    even then i am getting same error
    can any body help me

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    You need to have JAVA_HOME set to your JDK 1.5+ path.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    ravinder is offline Member
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    9

    Default

    could u please tell how to set the path

  4. #4
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    That's outside the scope of this forum.

    http://www.google.com/search?q=how+t...ava_home+linux
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    ravinder is offline Member
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    9

    Default

    I have downloaded the java 1.5 from sun.com and set the path and JAVA_HOME .


    java -version showing below text
    [root@localhost Desktop]# java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)

    [root@localhost ZimbraBuild]# which java
    /usr/bin/java


    even it is giving the same error as given previously

  6. #6
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Did you get the JDK? OR JRE? You need the JDK.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  7. #7
    ravinder is offline Member
    Join Date
    Apr 2006
    Posts
    13
    Rep Power
    9

    Default

    i downloaded jdk-1_5_0_06-linux-i586.rpm

  8. #8
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Not sure what you have wrong then. Like I said earlier, configuring a Java build enviroment is outside the scope of this forum.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  9. #9
    comptekki is offline Senior Member
    Join Date
    Mar 2006
    Posts
    67
    Rep Power
    9

    Default

    Quote Originally Posted by ravinder
    I have downloaded the java 1.5 from sun.com and set the path and JAVA_HOME .


    java -version showing below text
    [root@localhost Desktop]# java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)

    [root@localhost ZimbraBuild]# which java
    /usr/bin/java


    even it is giving the same error as given previously
    there should be a docs folder that covers the build process.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compiling source
    By FloydWilliams in forum Installation
    Replies: 4
    Last Post: 01-11-2007, 04:59 PM
  2. error compiling snv w/ DbPop3Message.storeUid
    By rmh3093 in forum Developers
    Replies: 2
    Last Post: 12-15-2006, 10:00 AM
  3. Compiling from SVN
    By henrik_b in forum Administrators
    Replies: 1
    Last Post: 08-11-2006, 04:06 PM
  4. Compiling Zimbra Source
    By raghu in forum Developers
    Replies: 1
    Last Post: 04-12-2006, 08:25 AM

Posting Permissions

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