[Tinyos-help] [TinyOs Help] TinyOs on Red Hat EL4

Marcus Phillips marcusphilli at gmail.com
Thu Jul 6 13:16:43 PDT 2006


I am trying to install and run tinyos on Red Hat EL4. I get most of the way
through the installation, but a series of errors about enum.

an example is

/opt/tinyos-1.x/tools/java/net/tinyos/sim/event/SimEventBus.java:180: as of
release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = getEventListeners().elements();


I have installedIBMJava2-142-ia32-SDK-1.4.2-5.0.i386.rpm and
IBMJava2-JAVACOMM-1.4.2-5.0.i386.rpm, as the webpage ordered. I believe the
java compiler (javac) is the cause of these errors. However, I cannot add
the -source 1.4, as the compiler is being called from within the rpm.

Any help working around this issue would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060706/9d022a50/attachment.htm


More information about the Tinyos-help mailing list