lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Luke - Build a jar that uses my own jar
Date Tue, 17 Mar 2009 10:44:03 GMT
Well, assuming that when you say "invoke Luke's jar outside java" you
mean that you are trying to run Luke from the command line e.g. $ java
-jar lukexxx.jar, it simply sounds like your classes are not on the
classpath.  Add them.


--
Ian.


On Tue, Mar 17, 2009 at 10:20 AM, liat oren <oren.liat@gmail.com> wrote:
> Hi,
>
> I edited Luke's code so it also uses my classes (I added the jar to the
> class-path and put it in the lib folder).
> When I run from java it works good.
>
> Now I try to build it and invoke Luke's jar outside java and get the
> following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: - on my classes.
>
> What do I do wrong?
> Thanks,
> Liat
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message