Errrg... I sent this yesterday... it doesn't appear to have made it to the list. I hope it still helps:
Put the orion.jar file in your classpath as part of the manifest. This allows you to include any file that sits outside of your jar. Example: Manifest-Version: 1.0 Main-Class: com.blah.gui.control.UIFactory Class-Path: log4j.jar jai_core.jar jai_codec.jar orion.jar -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John D. Ware Sent: Monday, April 01, 2002 4:10 PM To: Orion-Interest Subject: Re: Client program for simple EJB tutorial Hi, This is indeed a timely question as I am working on this also. I was able to get a client working until I tried to put it into a jar file. I get a ClassNotFoundException looking for the com.evermind.server.ApplicationInitialContextFactory when starting my app using: java -cp "c:/orion/orion.jar" -jar pet-class.jar Again, it works fine (Note: no classpath specified) if run like: java org.jdware.pet.client.PetClient any ideas? thanks john ware
