• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Getting error while compling the First Java file

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
I am new to EJB and i made a very small program.While compling the TestreHome.java I am getting error

TesterHome.java:13: package javax.ejb does not exist
public interface TesterHome extends javax.ejb.EJBHome {
^
TesterHome.java:15: cannot find symbol
symbol : class Tester
location: interface tester.TesterHome
Tester create() throws java.rmi.RemoteException, javax.ejb.CreateException;
^
TesterHome.java:15: package javax.ejb does not exist
Tester create() throws java.rmi.RemoteException, javax.ejb.CreateException;

Please help me what is problem.And what should i do.
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ankush,

the JEE libs are missing.

My Tipp for you: Start with Java Standard Edition, not the Enterprise Edition. You wouldn't get far if you tried to learn Java by starting with JEE, all you get is frustrated.
 
ankush patni
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you please let me know from where i can get JEE file.
and i didn't get properly what you want to say.I have installed the JDK 1.5 and jboss-4.0.5.GA so please tell me where i should make changes.
 
Nothing up my sleeve ... and ... presto! A tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic