Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-11-2006, 06:19 AM
Member
 
Posts: 13
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
Reply With Quote
  #2 (permalink)  
Old 04-11-2006, 06:37 AM
Zimbra Employee
 
Posts: 4,792
Default

You need to have JAVA_HOME set to your JDK 1.5+ path.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 04-11-2006, 06:40 AM
Member
 
Posts: 13
Default

could u please tell how to set the path
Reply With Quote
  #4 (permalink)  
Old 04-11-2006, 06:44 AM
Zimbra Employee
 
Posts: 4,792
Default

That's outside the scope of this forum.

http://www.google.com/search?q=how+t...ava_home+linux
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 04-11-2006, 08:37 AM
Member
 
Posts: 13
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
Reply With Quote
  #6 (permalink)  
Old 04-11-2006, 09:26 AM
Zimbra Employee
 
Posts: 4,792
Default

Did you get the JDK? OR JRE? You need the JDK.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 04-11-2006, 09:44 AM
Member
 
Posts: 13
Default

i downloaded jdk-1_5_0_06-linux-i586.rpm
Reply With Quote
  #8 (permalink)  
Old 04-11-2006, 09:47 AM
Zimbra Employee
 
Posts: 4,792
Default

Not sure what you have wrong then. Like I said earlier, configuring a Java build enviroment is outside the scope of this forum.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #9 (permalink)  
Old 04-13-2006, 04:00 PM
Senior Member
 
Posts: 67
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.