[
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