[Avrora] Compiling avrora
Roy Shea
royshea at gmail.com
Sat Mar 21 12:50:18 PDT 2009
Hello,
> I am trying to compile the latest CVS version of avrora by typing
> 'make avrora'... Shouldn't this work right away?
I just grabbed the CVS version from source forge and built without a
problem.
----
$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
$ make avrora
Note: src/cck/test/TestEngine.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
----
The note about using a deprecated API is normal. So everything is
building okay for me.
> src/avrora/monitors/PacketMonitor.java:169: unclosed character literal
> if (c != '§') LostBytesinPacket = true;
I wonder if the compiler is choking on the '§'? Looking at the
surrounding code I see what look like unicode characters specified in
other branches of the case, but this branch uses '§' directly. But this
is just a conjecture since:
- I'm not sure why it is working for me and not you
- I've never looked at unicode in Java
This is a start. Hopefully a Java guru on the list will recognize this
problem.
Peace,
-Roy
More information about the Avrora
mailing list