Link to home
Start Free TrialLog in
Avatar of kennybud416
kennybud416

asked on

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?

Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Successful execution of

javap javax.ejb.EJBObject

would prove it, but not the negative of course
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kennybud416
kennybud416

ASKER


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?
>>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?
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    
   below.

   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
thanks