sorry to be a pathetic newby but I cant get it going : - I have installed
JBoss 4.0.1sp1
EJB 3.0 Preview 4 (and carried out installation instructions)
Java 5 (when I type java -version the output is :- 1.5.0_01)
I set ant_ home to C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateful
and then with JBoss 4.0.1sp1 running typed in command prompt:-
C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateful> set PATH=..\ant\bin;%PATH%
then : ant
I keep getting error messages saying:-
C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless>ant
Buildfile: build.xml
prepare:
compile:
[javac] Compiling 5 source files to C:\jboss-EJB-3.0_Preview_4\docs\tutorial
\stateless\build\classes
[javac] C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless\src\org\jboss\tut
orial\stateless\bean\CalculatorBean.java:11: illegal character: \64
[javac] @Stateless
[javac] ^
[javac] C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless\src\org\jboss\tut
orial\stateless\bean\CalculatorLocal.java:11: illegal character: \64
[javac] @Local
[javac] ^
[javac] C:\jboss-EJB-3.0_Preview_4\docs\tutorial\stateless\src\org\jboss\tut
orial\stateless\bean\CalculatorRemote.java:11: illegal character: \64
[javac] @Remote
[javac] ^
[javac] 3 errors
BUILD FAILED
file:C:/jboss-EJB-3.0_Preview_4/docs/tutorial/stateless/build.xml:53: Compile fa
iled; see the compiler error output for details.
any ideas please
It looks like you are using JDK 1.4
Make sure you set both:
JAVA_HOME=root of your jdk 5 install
and add $JAVA_HOME/bin to your PATH