File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes My netbeans 6.0.1 cannot recognize package javax.ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "My netbeans 6.0.1 cannot recognize package javax.ejb" Watch "My netbeans 6.0.1 cannot recognize package javax.ejb" New topic
Author

My netbeans 6.0.1 cannot recognize package javax.ejb

Almas hussain
Greenhorn

Joined: Mar 02, 2008
Posts: 4
Hello iam Almas from Norway, and iam new to EJB 3.0. My problem is that netbeans 6.0.1 cant recognize the package javax.ejb. I have set the envirment variabels like that

i have the sdk at C:\Sun\SDK

JAVAEE_HOME C:\Sun\SDK

JAVA_HOME C:\Programfiler\Java\jdk1.6.0_04

PATH %JAVAEE_HOME%\bin;%M2%;%Path%;%JAVA_HOME%\bin

can somebody help me, thanks!


Almas
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

You need to add the EJB JAR file into the libraries. Right click on the libraries and add the JAR files.

If you have an enteprise project created in NetBeans, the JavaEE libraries are added automatically.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: My netbeans 6.0.1 cannot recognize package javax.ejb