This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
My dilemma is I can create a executable jar file. But when I run it, it can't pick up the classpath setting. But it gave me ClassDefNotFound exception when use some external classes. Did anybody see the same problem? Is there any way to solve it? Thanks in advance.
SCJP, SCJD, SCWCD, SCBCD, SCEA, IBM Certified Enterprise Developer, WebSphere Studio V5.0
You can set the classpath in the manifest. Class-Path : <urls> The value of this attribute specifies the relative URLs of the extensions or libraries that this application or extension needs. URLs are separated by one or more spaces. The application or extension class loader uses the value of this attribute to construct its internal search path.