I discovered I was running the wrong version of the JDK for my source which was causing
certain classes to not be found. My assumption was that it wasn't finding the rt.jar at all.
Sorry.


Derek Greer

John Casey wrote:

How do you run the JVM at all without the rt.jar??? That should be in
the default bootclasspath...

The inclusion of rt.jar should be taken for granted as part of the JVM
infrastructure, and shouldn't be declared as a dependency.

-john

On Mon, 2004-04-12 at 11:21, Derek B. Greer wrote:


I apologize for asking what is probably the most basic of questions, but I can't seem to find the answer
on the Maven web site. I'm starting out using Maven just for site generation. I've created a project.xml
and am listing out my dependencies, however one of the jars I need to compile my src is rt.jar. Now adding
this to my local or remote repository is easy enough, however since my project considers this a perquisite
dependency it feels wrong to have to do this. I've got rt.jar in my classpath, but Maven doesn't seem to look
at the CLASSPATH at all. Is this correct? I looked at the project.xml for struts, but couldn't find how they
were including this in the classpath. What is the normal way of doing this?


Derek Greer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  • JDK Derek B. Greer
    • Re: JDK John Casey
      • Derek B. Greer

Reply via email to