[MWy] neumim prelozit Simple

Martin Kruliš bobrik at matfyz.cz
Mon Apr 21 09:43:58 CEST 2008


> Rozbalil jsem snad vsechno kam se melo, udelal symlink v home na
> ActiveMQ v BIG, ale presto kdyz spustim make dostanu takovehle chyby:
>
> u-pl5:~/BIG/assignment3/Example/Simple$ ./make
> ExampleConsumer.java:1: package javax.jms does not exist
> import javax.jms.Connection;
>                  ^
> ExampleConsumer.java:2: package javax.jms does not exist
> import javax.jms.Message;
> ...
> ...
>
> Kompilator nenasel knihovny ActiveMQ?
>
> Kdyz jsem si do make dopsal
>
> echo $ACTIVEMQ_HOME
> ls "$ACTIVEMQ_HOME/lib/"
>
> tak vypise
>
> /afs/ms/u/m/malyj4am/ActiveMQ
> activation-1.1.jar	       geronimo-j2ee-management_1.0_spec-1.0.jar
> activemq-console-5.0.0.jar     geronimo-jms_1.1_spec-1.0.jar
> activemq-core-5.0.0-tests.jar  geronimo-jta_1.0.1B_spec-1.0.jar
> activemq-core-5.0.0.jar        jaxb-api-2.0.jar
> activemq-jaas-5.0.0.jar        jaxb-impl-2.0.3.jar
> activemq-web-5.0.0.jar	       optional
> camel-core-1.2.0.jar	       stax-1.2.0.jar
> camel-jms-1.2.0.jar	       stax-api-1.0.jar
> camel-spring-1.2.0.jar	       web
> commons-logging-1.1.jar
>
> tak snad je vsechno tam, kde ma byt.
>
> Nevi nekdo, v com by mohl byt problem?

A pouzivas Javu 1.6? Jestli ne, tak si prolistuj konferu - je tam 
nekolik navodu... :o)
MK




More information about the NSWI080 mailing list