File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My netbeans 6.0.1 cannot recognize package javax.ejb

 
Almas hussain
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 959
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic