Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Help needed in Set up

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You don't know me, but I've been looking all over the world for. Thanks to the help from this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic