[Reconnoiter-users] Error compiling Java

Theo Schlossnagle jesus at omniti.com
Thu Oct 15 13:01:16 EDT 2009


I've never tried that with gcj.  Fetch Sun's JDK (you only have the  
JRE) and make sure it's java/javac/jar are in your path before the  
ones provided by gcj and then run configure.

On Oct 14, 2009, at 6:00 PM, Kurt Yoder wrote:

> Hello list,
>
> Something is up with compiling Java components:
>
> make[2]: Entering directory `/home/kurt/reconnoiter/src/java'
> - compiling files
> gcj-4.2: warning: already-compiled .class files ignored with -C
> com/omniti/reconnoiter/MQListener.java:15: error: The import
> com.espertech cannot be resolved
>       import com.espertech.esper.client.EPServiceProvider;
>              ^^^^^^^^^^^^^
> com/omniti/reconnoiter/MQListener.java:20: error: EPServiceProvider
> cannot be resolved to a type
>       private EPServiceProvider epService;
>               ^^^^^^^^^^^^^^^^^
>
> <trimmed a bunch of errors and warnings>
>
>       import org.w3c.dom.Document;
>              ^^^^^^^^^^^^^^^^^^^^
> com/omniti/reconnoiter/StratconMessage.java:17: warning: The import
> org.w3c.dom.Element is never used
>       import org.w3c.dom.Element;
>              ^^^^^^^^^^^^^^^^^^^
> 148 problems (139 errors, 9 warnings)
> make[2]: *** [reconnoiter.jar] Error 1
> make[2]: Leaving directory `/home/kurt/reconnoiter/src/java'
> make[1]: *** [java-bits] Error 2
> make[1]: Leaving directory `/home/kurt/reconnoiter/src'
> make: *** [all] Error 2
>
>
>
>
>
>
>
> I have subversion/trunk, revision 957. Not sure what version that is.
> Running on Ubuntu Hardy, Java-relevant packages:
>
> sun-java6-jre
> jarwrapper
> gcj
>
>
> How do I fix this?
>
>
>
>
>
>
> By the way, configure never complained about missing Java build
> dependencies. After I ran it *without* having these Java packages
> installed, I had in my src/java/Makefile:
>
> JAVA=
> JAVAC=
> JAR=
>
> which of course bombed.
>
>
> -Kurt
> _______________________________________________
> Reconnoiter-users mailing list
> Reconnoiter-users at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/reconnoiter-users

--
Theo Schlossnagle
http://omniti.com/is/theo-schlossnagle
p: +1.443.325.1357 x201   f: +1.410.872.4911







More information about the Reconnoiter-users mailing list