You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "mohame abd elsamei (JIRA)" <de...@db.apache.org> on 2005/02/09 07:49:12 UTC

[jira] Created: (DERBY-140) complie derby on redhat9

complie derby on redhat9 
-------------------------

         Key: DERBY-140
         URL: http://issues.apache.org/jira/browse/DERBY-140
     Project: Derby
        Type: Test
  Components: Build tools  
    Versions: 10.0.2.2    
 Environment: redhat 9 , java 1.4 , java 1.3
    Reporter: mohame abd elsamei


when trying to build a derby useing 
> ant 
i got these errors
i am new here and please some help :)
Thanks all

compile_iapi_jdbc_stmt:
    [javac] Compiling 1 source file to /export/prj/incubating-derby-10.0.2.1-src/classes
    [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:384: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
    [javac]         return  getStatement().execute( sql, autoGeneratedKeys);
    [javac]                             ^
    [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:392: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
    [javac]         return getStatement().execute( sql, columnIndexes);
    [javac]                            ^
    [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:399: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
    [javac]         return getStatement().execute( sql, columnNames);
    [javac]                            ^
    [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:406: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
    [javac]                 int retVal =  getStatement().executeUpdate( sql, autoGeneratedKeys);
    [javac]                                           ^
    [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:414: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
    [javac]              return  getStatement().executeUpdate( sql, columnIndexes);
    [javac]                                  ^
    [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:422: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
    [javac]         return getStatement().executeUpdate( sql, columnNames);


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-140) complie derby on redhat9

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dag H. Wanvik updated DERBY-140:
--------------------------------

    Issue Type: Bug  (was: Test)

> complie derby on redhat9
> ------------------------
>
>                 Key: DERBY-140
>                 URL: https://issues.apache.org/jira/browse/DERBY-140
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.0.2.2
>         Environment: redhat 9 , java 1.4 , java 1.3
>            Reporter: mohame abd elsamei
>
> when trying to build a derby useing 
> > ant 
> i got these errors
> i am new here and please some help :)
> Thanks all
> compile_iapi_jdbc_stmt:
>     [javac] Compiling 1 source file to /export/prj/incubating-derby-10.0.2.1-src/classes
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:384: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]         return  getStatement().execute( sql, autoGeneratedKeys);
>     [javac]                             ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:392: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]         return getStatement().execute( sql, columnIndexes);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:399: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().execute( sql, columnNames);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:406: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]                 int retVal =  getStatement().executeUpdate( sql, autoGeneratedKeys);
>     [javac]                                           ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:414: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]              return  getStatement().executeUpdate( sql, columnIndexes);
>     [javac]                                  ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:422: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().executeUpdate( sql, columnNames);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DERBY-140) complie derby on redhat9

Posted by "Samuel Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-140?page=comments#action_58799 ]
     
Samuel Andrew McIntyre commented on DERBY-140:
----------------------------------------------

I would expect to see this error if the JDBC 2.0 interfaces from JDK 1.3 were present on the classpath at the time this class is being compiled. The classpath for compiling this class is based on the value of the Ant property java14compile.classpath, which is in turn dependent on the value of j14lib, which you should have set to the location of your JDK 1.4 installation's jre/lib directory while following the instructions in BUILDING.txt. Please check to make sure that the value for j14lib is set to the proper location:

j14lib=${jdk14.dir}/jre/lib

where ${jdk14.dir} is the location where you installed JDK 1.4.

Any other information you could provide, such as the text of the command-line Ant was using to compile the class, would be helpful. To see this information, run 'ant -verbose'. Just before the error, there will be a section called 'Compilation arguments:' Please add the contents of that section as a comment to this issue if possible.

> complie derby on redhat9
> ------------------------
>
>          Key: DERBY-140
>          URL: http://issues.apache.org/jira/browse/DERBY-140
>      Project: Derby
>         Type: Test
>   Components: Build tools
>     Versions: 10.0.2.2
>  Environment: redhat 9 , java 1.4 , java 1.3
>     Reporter: mohame abd elsamei

>
> when trying to build a derby useing 
> > ant 
> i got these errors
> i am new here and please some help :)
> Thanks all
> compile_iapi_jdbc_stmt:
>     [javac] Compiling 1 source file to /export/prj/incubating-derby-10.0.2.1-src/classes
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:384: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]         return  getStatement().execute( sql, autoGeneratedKeys);
>     [javac]                             ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:392: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]         return getStatement().execute( sql, columnIndexes);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:399: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().execute( sql, columnNames);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:406: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]                 int retVal =  getStatement().executeUpdate( sql, autoGeneratedKeys);
>     [javac]                                           ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:414: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]              return  getStatement().executeUpdate( sql, columnIndexes);
>     [javac]                                  ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:422: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().executeUpdate( sql, columnNames);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (DERBY-140) complie derby on redhat9

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-140?page=all ]
     
Andrew McIntyre closed DERBY-140:
---------------------------------

    Resolution: Fixed

Further questions about the build or regarding using or working with Derby should be directed at the derby-user or derby-dev mailing lists instead of JIRA. thanks!

> complie derby on redhat9
> ------------------------
>
>          Key: DERBY-140
>          URL: http://issues.apache.org/jira/browse/DERBY-140
>      Project: Derby
>         Type: Test
>   Components: Build tools
>     Versions: 10.0.2.2
>  Environment: redhat 9 , java 1.4 , java 1.3
>     Reporter: mohame abd elsamei

>
> when trying to build a derby useing 
> > ant 
> i got these errors
> i am new here and please some help :)
> Thanks all
> compile_iapi_jdbc_stmt:
>     [javac] Compiling 1 source file to /export/prj/incubating-derby-10.0.2.1-src/classes
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:384: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]         return  getStatement().execute( sql, autoGeneratedKeys);
>     [javac]                             ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:392: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]         return getStatement().execute( sql, columnIndexes);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:399: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().execute( sql, columnNames);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:406: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]                 int retVal =  getStatement().executeUpdate( sql, autoGeneratedKeys);
>     [javac]                                           ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:414: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]              return  getStatement().executeUpdate( sql, columnIndexes);
>     [javac]                                  ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:422: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().executeUpdate( sql, columnNames);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-140) complie derby on redhat9

Posted by "mohame abd elsamei (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-140?page=comments#action_58803 ]
     
mohame abd elsamei commented on DERBY-140:
------------------------------------------

  Comment by Samuel Andrew McIntyre [09/Feb/05 08:29 AM]
[ Permlink ]
I would expect to see this error if the JDBC 2.0 interfaces from JDK 1.3 were present on the classpath at the time this class is being compiled. The classpath for compiling this class is based on the value of the Ant property java14compile.classpath, which is in turn dependent on the value of j14lib, which you should have set to the location of your JDK 1.4 installation's jre/lib directory while following the instructions in BUILDING.txt. Please check to make sure that the value for j14lib is set to the proper location:

j14lib=${jdk14.dir}/jre/lib

where ${jdk14.dir} is the location where you installed JDK 1.4.

Any other information you could provide, such as the text of the command-line Ant was using to compile the class, would be helpful. To see this information, run 'ant -verbose'. Just before the error, there will be a section called 'Compilation arguments:' Please add the contents of that section as a comment to this issue if possible.


> complie derby on redhat9
> ------------------------
>
>          Key: DERBY-140
>          URL: http://issues.apache.org/jira/browse/DERBY-140
>      Project: Derby
>         Type: Test
>   Components: Build tools
>     Versions: 10.0.2.2
>  Environment: redhat 9 , java 1.4 , java 1.3
>     Reporter: mohame abd elsamei

>
> when trying to build a derby useing 
> > ant 
> i got these errors
> i am new here and please some help :)
> Thanks all
> compile_iapi_jdbc_stmt:
>     [javac] Compiling 1 source file to /export/prj/incubating-derby-10.0.2.1-src/classes
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:384: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]         return  getStatement().execute( sql, autoGeneratedKeys);
>     [javac]                             ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:392: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]         return getStatement().execute( sql, columnIndexes);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:399: execute(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().execute( sql, columnNames);
>     [javac]                            ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:406: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int)
>     [javac]                 int retVal =  getStatement().executeUpdate( sql, autoGeneratedKeys);
>     [javac]                                           ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:414: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,int[])
>     [javac]              return  getStatement().executeUpdate( sql, columnIndexes);
>     [javac]                                  ^
>     [javac] /export/prj/incubating-derby-10.0.2.1-src/java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java:422: executeUpdate(java.lang.String) in java.sql.Statement cannot be applied to (java.lang.String,java.lang.String[])
>     [javac]         return getStatement().executeUpdate( sql, columnNames);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira