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?
Is there a library or a certain directory that I could check?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
No. That's nothing to do with j2ee. That's a db of the filesystem
:-)
btw, what did you get with the first command?
btw, what did you get with the first command?
ASKER
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/j2e e.jar.
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
./javap javax.ejb.EJBObject
ERROR:Could not find javax.ejb.EJBObject
However j2ee was found in /opt/SUNWappserver/lib/j2e
Yes, you just need to put j2ee.jar in the classpath
ASKER
thanks
javap javax.ejb.EJBObject
would prove it, but not the negative of course