Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.ejb.* question

 
Sergiy Kamenyev
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,
I try to compile Enterprise JavaBean and have the error message:
"Enterprise1.java": Error #: 704 : cannot access directory javax\ejb at line 4, column 1
. What do I need to do to correct the error?
Thank you.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have the javax.ejb stuff in your classpath?
By the way, which compiler gives you that kind of an error? I don't remember seeing that one.
 
Sergiy Kamenyev
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure about javax.ejb. How to check? I use Borland JBuilder 6 and I am not sure is it good enough because I did not try other compilers.
Thank you.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably haven't downloaded the J2EE SDK, have you? You should. After unpacking, add the file called j2ee.jar to your CLASSPATH (I don't know how exactly you can do this with JBuilder 6, though).
[ October 17, 2003: Message edited by: Lasse Koskela ]
 
Sergiy Kamenyev
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the advice. I have now only one error:
"EE.jpx": Don't have a path for java2iiop. Check your VisiBroker configuration using the Tools | Enterprise Setup | CORBA page, and make sure VisiBroker is selected on the Project | Project Properties | Build | IDL page.
, and have no idea how to fix it . I have VisiBroker selected on the Project | Project Properties | Build | IDL page but I do not know how to configure VisiBroker on the CORBA page .
 
Anjili Akash
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
me too having sameproblem.
from where i can get j2ee.jar file?
and howto add it in jbuilder5.
 
s basetti
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But what is the use ...guys...though you are able to compile..you got to deploy the EJBean on a server to run & seee how it acts & response...
If you download a trial version of J2ee editor attached with j2ee server...eg: visual cafe' or visual age etc.,,that comes with j2ee sdk..I guess you may be able to compile & deploy at the same time...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic