• Post Reply Bookmark Topic Watch Topic
  • New Topic

Red Hat 7.2 with J2EE SDK 1.3.1  RSS feed

 
John Liang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using Red Hat 7.2 and use the default shell, I believe is bash, don't use braces with the $CLASSPATH variable. That won't work.
Please do the following:
% javac -classpath $CLASSPATH:AdviceAppClient.jar AdviceClient.java
% java -cp $CLASSPATH:AdviceAppClient.jar AdviceClient
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!