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 09-26-2010, 07:50 PM
Elite Member
 
Posts: 338
Angry Problems when building zimbra 6.0.7 GA in java 1.6

Hi, I tried building zimbra in java 1.6 but not sucessful because these errors:
Code:
/media/software/project/zimbra/zimbrastore/src/com/zimbra/cs/db/DebugConnection.java:29: com.zimbra.cs.db.DebugConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
class DebugConnection implements Connection {
/media/software/project/zimbra/zimbrastore/src/com/zimbra/cs/db/DebugPreparedStatement.java:41: com.zimbra.cs.db.DebugPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
class DebugPreparedStatement implements PreparedStatement {
/media/software/project/zimbra/zimbrastore/src/com/zimbra/cs/im/provider/ZimbraConnectionProvider.java:59: com.zimbra.cs.im.provider.ZimbraConnectionProvider.ZimbraConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
    private static class ZimbraConnection implements java.sql.Connection {
These errors appear when I build zimbrastore component.
So I must tried in java 1.5 and it worked well.
I don't know why this happen and how to fix that?
Reply With Quote
  #2 (permalink)  
Old 04-17-2011, 02:54 AM
Elite Member
 
Posts: 338
Default

Quote:
Originally Posted by dalmate View Post
Hi, I tried building zimbra in java 1.6 but not sucessful because these errors:
Code:
/media/software/project/zimbra/zimbrastore/src/com/zimbra/cs/db/DebugConnection.java:29: com.zimbra.cs.db.DebugConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
class DebugConnection implements Connection {
/media/software/project/zimbra/zimbrastore/src/com/zimbra/cs/db/DebugPreparedStatement.java:41: com.zimbra.cs.db.DebugPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
class DebugPreparedStatement implements PreparedStatement {
/media/software/project/zimbra/zimbrastore/src/com/zimbra/cs/im/provider/ZimbraConnectionProvider.java:59: com.zimbra.cs.im.provider.ZimbraConnectionProvider.ZimbraConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
    private static class ZimbraConnection implements java.sql.Connection {
These errors appear when I build zimbrastore component.
So I must tried in java 1.5 and it worked well.
I don't know why this happen and how to fix that?
with java 1.6, you must override some method in mysql library. Zimbra replaced that class in new version, please try another version's codes
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.