Re: Importing from a Jar file WITHOUT unzipping it
- From: Lew <noone@xxxxxxxxxxxxx>
- Date: Wed, 29 Oct 2008 09:40:55 -0400
Andreas Leitgeb wrote:
Lew <noone@xxxxxxxxxxxxx> wrote:Mark Space wrote:Just pointing to the directory won't work, that's for loose classes.It will if you wildcard the directory:
-classpath /some/path/lib/*
Are you talking about some new feature of 1.6.0_10 here?
<http://java.sun.com/javase/6/docs/technotes/tools/solaris/classpath.html>
Class path entries can contain the basename wildcard character *, which is considered equivalent to specifying a list of all the files in the directory with the extension .jar or .JAR.
It came out before update 10.
If you're using obsolete or obsolescent versions of Java, YMMV.
--
Lew
.
- Follow-Ups:
- References:
- Importing from a Jar file WITHOUT unzipping it
- From: Martyr2
- Re: Importing from a Jar file WITHOUT unzipping it
- From: Mark Space
- Re: Importing from a Jar file WITHOUT unzipping it
- From: Lew
- Re: Importing from a Jar file WITHOUT unzipping it
- From: Andreas Leitgeb
- Importing from a Jar file WITHOUT unzipping it
- Prev by Date: Strange parsing problem
- Next by Date: Re: Importing from a Jar file WITHOUT unzipping it
- Previous by thread: Re: Importing from a Jar file WITHOUT unzipping it
- Next by thread: Re: Importing from a Jar file WITHOUT unzipping it
- Index(es):
Relevant Pages
|
Loading