Java question - Where can I get javax.transaction.UserTransaction from?

In trying to compile a piece of custom source code that was given to me by a vendor, I’m running into problems because I don’t have javax.transaction.UserTransaction. I do have some of the javax classes in my toolkit, but not transaction.UserTransaction.

And I downloaded and installed j2sdk1.4.1_02 earlier this year so it can’t be that much out of date.

Incidentally this is part of a Weblogic/OpenSymphony driven application. Can anyone help?

In my weblogic installation, it’s in weblogicaux.jar. However, this is an older 5.x version of weblogic, they may have moved it since then. However, it’ll still be in one of the weblogic jar files in weblogic/lib, since it’s part of the J2EE spec.

I hope this helps.

Download a version of J2EE SDK from Sun, such as this one

You should find everything you need packed in a neat jar called “j2ee.jar”

This stuff is vendor-independent, so you can get it from Sun. Nevertheless, most app servers will already have these classes in their own jars/classpaths. That’s why folks developing Weblogic applications don’t have to download the J2EE SDK.

I did exactly that before I had a chance to come back to this thread, and it seems to be working.

thanks to everyone for their responses.