[PJUG Javamail] Java 101 Classpath issue
John Watson
jkwatson at gmail.com
Tue Jul 28 11:45:29 EDT 2009
Also, unless that directory is full of .class files, the classpath won't do
you any good, as java doesn't support jar directories for classpaths (unless
you wildcard it, I think?).
On Tue, Jul 28, 2009 at 11:42 AM, Christian Pich <cmpich at cs.uoregon.edu>wrote:
> What is the name of your jar file? It appears that you left out the
> extension .jar in
> c:\HR_Tools\ProjCostByUser
> I am not sure but the extension is probably required...
>
> Richard Johnson wrote:
> > Hi all,
> >
> > This is no doubt totally obvious, but it eludes me this morning. Call
> > it my WTF? for today. What's going on here, and what's the fix?
> >
> > ----------- windows xp "cmd" shell:
> >
> > C:\Java\jdk1.6.0_12\jre\bin>java.exe -verbose -classpath C:\HR_Tools
> > -jar c:\HR_Tools\ProjCostByUser
> > Unable to access jarfile c:\HR_Tools\ProjCostByUser
> >
> > C:\Java\jdk1.6.0_12\jre\bin>
> >
> > -------------
> > Richard J.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Web Site - http://www.pjug.org/
> > Javamail mailing list
> > Javamail at pjug.org
> > http://www.pjug.org/mailman/listinfo/javamail
> >
>
> --
> ------------------------------------------------------------------------
> Christian Pich, Ph.D.
> University of Oregon
> Zebrafish Information Network
> Phone: 541-346-1581
> Email: cmpich at zfin.org
> Web: http://zfin.org
> ------------------------------------------------------------------------
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pjug.org/pipermail/javamail/attachments/20090728/125140e7/attachment.html
More information about the Javamail
mailing list