By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 876 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

problem with compiling EJB in JBoss

P: 2
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
Share this question for a faster answer!
Share on Google+

Post your reply

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