j2ee location

I would like to check if a solaris system currently has j2ee installed.  How do I go about doing this?

Is there a library or a certain directory that I could check?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Successful execution of

javap javax.ejb.EJBObject

would prove it, but not the negative of course
If that doesn't work, try


as root, followed by

locate j2ee.jar

Failure to produce any results, i *think* would be very strong evidence that it isn't

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kennybud416Author Commented:

The pubdatedb command didn't work  however I was able to locate the j2ee.jar with the find command.

If the updatedb command doesn't work does that mean I don't have j2ee setup correctly?
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

>>If the updatedb command doesn't work does that mean I don't have j2ee setup correctly?

No. That's nothing to do with j2ee. That's a db of the filesystem

btw, what did you get with the first command?
kennybud416Author Commented:
It didn't work.  I'm not sure if I'm doing something wrong.

1) Solaris is looking under /usr/bin which contains an older version of java. I received the error    

   javap javax.ejb.EJBObject
   Class 'javax.ejb.EJBObject' not found

2) When I use the new version of java (java version "1.5.0_02") in  
    /opt/SUNWappserver/jdk/bin. I got this error.

   ./javap javax.ejb.EJBObject
   ERROR:Could not find javax.ejb.EJBObject

However j2ee was found in /opt/SUNWappserver/lib/j2ee.jar.
Yes, you just need to put j2ee.jar in the classpath
kennybud416Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.