File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classpath errors - need urgent help!

 
Hemal Shah
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am tring to compile EJB's and *seem* to have a classpath problem.
Here is my classpath:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C;\Java\jdk1.3.1_01\bin;C:\Individualproject\JBoss_Tomcat\JBoss-2.2.2_Tomcat-3.2.2\jboss\lib\ext\ejb.jar;C:\Individual project\JBoss_Tomcat\JBoss-2.2.2_Tomcat-3.2.2\jboss\lib\ext\ejb2.0.jar;C:\Individualproject\Jakarta\jakarta-ant-1.3\bin;C:\Individualproject\JBoss_Tomcat\JBoss-2.2.2_Tomcat-3.2.2\t omcat\bin;C:\Individualproject\Jakarta\jakarta-ant-1.3\lib\ant.jar;C;\Java\jdk1.3.1_01\lib\tools.jar
When I attemt to compile I get an error saying that javax.ejb cannot be found.
I have located this package to be in "...\jboss\lib\ext\ejb2.0.jar" as stated in the classpath above but still get errors!
Any ideas?
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to copy the jar file in to another directory and try to put it classpath. Yoy amy even try to change the name of the jar file if you feel. This is just a round about solution. Your class seems to be fine and should not be any problem.
Ramdhan YK
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic