• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

My netbeans 6.0.1 cannot recognize package javax.ejb

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
It's never done THAT before. Explain it to me tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic