469,950 Members | 2,325 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

problem with compiling EJB in JBoss

Good day all,


Please, i can't compile my ejb classes in JBoss-4.0.5.GA or JBoss-4.0.2
after proper installation (because i can log on to the server
via http://localhost:8080/ after using "run.bat" at the jboss bin
directory, from windows DOS command-line).

IN WINDOWS-XP, I USED THE TWO FOLLOWING COMPILERS
DIFFERENTLY AT THE DOS COMMAND-LINE:

(1.) First attempt:--

set CLASSPATH=.;c\:jboss-4.0.5.GA\client\jboss-client.jar;c\:jboss-4.0.5.GA\client\jnp-client.jar;c\:jboss-4.0.5.GA\client\jboss-common-client.jar;c\:jboss-4.0.5.GA\client\log4j.jar;c\:jboss-4.0.5.GA\client\jboss-j2ee.jar;c\:jboss-4.0.5.GA\client\jbosssx-client.jar

C:\workplace\com\javapro\ejb> javac -classpath .;c\:jboss-4.0.5.GA\client\jboss-
client.jar;c\:jboss-4.0.5.GA\client\jnp-client.jar;c\:jboss-4.0.5.GA\client\jbos
s-common-client.jar;c\:jboss-4.0.5.GA\client\log4j.jar;c\:jboss-4.0.5.GA\client\
jboss-j2ee.jar;c\:jboss-4.0.5.GA\client\jbosssx-client.jar -d c:\workplace\com\j
avapro\ejb



(2.) Second attempt:--

set CLASSPATH=.;c\:jboss-4.0.5.GA\client\jboss-client.jar;c\:jboss-4.0.5.GA\client\jnp-client.jar;c\:jboss-4.0.5.GA\client\jboss-common-client.jar;c\:jboss-4.0.5.GA\client\log4j.jar;c\:jboss-4.0.5.GA\client\jboss-j2ee.jar;c\:jboss-4.0.5.GA\client\jbosssx-client.jar

C:\workplace\com\javapro\ejb> javac -classpath %classpath% -d c:\workplace\com\javapro\ejb


IN EACH CASE ABOVE, THE ERROR MESSAGE I GOT GOES AS FOLLOWS:--

'javac' is not recognized as an internal or external command,
operable program or batch file.

Please, help! This has become really frustrating for me.

thanks.

N Jibrin
Mar 26 '07 #1
0 1580

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Fadzi Ushewokunze | last post: by
reply views Thread by Salemsen | last post: by
reply views Thread by Bernard Koninckx | last post: by
3 posts views Thread by Bernard Koninckx | last post: by
reply views Thread by Oliver Hoehle | last post: by
reply views Thread by bigbinc | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.