Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help needed in Set up  RSS feed

 
Debanjana Dasgupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am on Windows XP.I downloaded j2eesdk and j2se sdk.My normal standalone java programs run fine(j2sesdk looks ok).
I have defined JAVA_HOME for j2sesdk location
J2EE_HOME for J2EESDK location.
I downloaded ant and set ANT_HOME for this.
The bin and lib directories of each of this is in my classpath.My problem is that if I try yo compile a enterprise java bean, it says it cannot find the javax.ejb package.
The j2ee.jar in j2eesdk is in my classpath.
Any ideas?
I think something is wrong with my classpath, but cannot figure it out.
Thanks
Debanjana
 
Sreenivasa Majji
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you post the exact error message, it would be helpful. If it can't find the package means, it's classpath issue.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and also exact settings of the environment variables:
JAVA_HOME, J2EE_HOME, ANT_HOME, PATH, CLASSPATH
Many eyes are better than two...
 
Debanjana Dasgupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thanks for your replies.
I got it figured out.
There was a mistake in the classpath.
I successfully compiled and deployed yesterday.
Thanks again
Debanjana
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!