Hi all, I really dont know I am in right place or not. Please excuse me if I am in worng place and please direct me to the right place.
I am Ajith from India and working as a software engineer. Now a days I am trying to build a website using java and Derby as the backend. I choose eclipse as the development environment to do this. I was tring to build Derby in eclipse as explained in the page : http://wiki.apache.org/db-derby/BuildingDerby I succeded upto point 4 but When i try to build source for the Derby it is causing some problem. I am very new to java and all so it is really confusing to me hence I am seeking your help to sort it out. I executed the command :- ant -quiet clobber successfully But the command :- ant -quiet buildsource failed with the following errors : ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [r...@localhost Demo1]# ant -quiet buildsource [setJdkProperties] Unrecognized VM vendor: 'Free Software Foundation, Inc.' [setJdkProperties] An attempt to configure the required JDKs will be made, but the build may fail. [setJdkProperties] In case of problems: [setJdkProperties] - consult BUILDING.html and set the required properties manually [setJdkProperties] - set the property printCompilerProperties to true and ask the Derby development community for help [setJdkProperties] (please provide the debug output from running ant) [javac] ---------- [javac] 1. ERROR in /root/workspace/Demo1/java/engine/org/apache/derby/impl/services/stream/BasicHeaderPrintWriter.java (at line 39) [javac] class BasicHeaderPrintWriter [javac] ^^^^^^^^^^^^^^^^^^^^^^ [javac] Exception IOException in throws clause of Writer.append(CharSequence, int, int) is not compatible with PrintWriter.append(CharSequence, int, int) [javac] ---------- [javac] 2. ERROR in /root/workspace/Demo1/java/engine/org/apache/derby/impl/services/stream/BasicHeaderPrintWriter.java (at line 39) [javac] class BasicHeaderPrintWriter [javac] ^^^^^^^^^^^^^^^^^^^^^^ [javac] Exception IOException in throws clause of Writer.append(CharSequence) is not compatible with PrintWriter.append(CharSequence) [javac] ---------- [javac] 3. ERROR in /root/workspace/Demo1/java/engine/org/apache/derby/impl/services/stream/BasicHeaderPrint [javac] Writer.java (at line 39) [javac] class BasicHeaderPrintWriter [javac] ^^^^^^^^^^^^^^^^^^^^^^ [javac] Exception IOException in throws clause of Writer.append(char) is not compatible with PrintWriter.append(char) [javac] ---------- [javac] 3 problems (3 errors) BUILD FAILED /root/workspace/Demo1/build.xml:452: The following error occurred while executing this line: /root/workspace/Demo1/java/engine/build.xml:81: The following error occurred while executing this line: /root/workspace/Demo1/java/engine/org/apache/derby/impl/build.xml:52: The following error occurred while executing this line: /root/workspace/Demo1/java/engine/org/apache/derby/impl/services/build.xml:50: Compile failed; see the compiler error output for details. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- It would be great if you could help me to sort this out. Thanks a lot for your help in advance. Hope a positive reply. Warm Regards, Ajith Kumar S L Chennai, India
