Re: Which jars do I have to include
Remi Forax <[email protected]> Sat, 7 Apr 2018 10:36:59 +0200 (CEST)
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
If you can use java 9 or 10, you should use the module-path instead of the class-path, because it's a lot of simpler. It works that way, create a module-info.java that requires the asm modules you want then indicate the folder that contains all the jars as module-path when running java. There is a tutorial here [1]. Rémi [1] http://openjdk.java.net/projects/jigsaw/quick-start > De: "Sagar Tewari" <[email protected]> > À: "asm" <[email protected]> > Envoyé: Samedi 7 Avril 2018 06:55:38 > Objet: Re: [asm] Which jars do I have to include > Never mind, It's got something to do with the classpath globbing. Here's the > stackoverflow question describing the problem: [ > https://stackoverflow.com/questions/49703901/cant-include-jar-files-with-classpath-glob > | > https://stackoverflow.com/questions/49703901/cant-include-jar-files-with-classpath-glob > ] > On Fri, Apr 6, 2018 at 7:30 PM, Sagar Tewari < [ mailto:[email protected] | > [email protected] ] > wrote: >> Hello community, >> I've built asm from source and the asmifier works fine. Though I'm having >> trouble compiling the examples. I've placed the jars in a local directory(which >> I'll refer to as JARPATH). I can compile the helloworld example if I include >> only the asm jar and asm-commons jar. I'm getting a package not found error for >> org.objectweb.asm if I include all the jars. >> So which jars are the one I need to include while compiling a program which uses >> asm library? > -- > Have a nice day > Sagar Tewari > -- > You receive this message as a subscriber of the [email protected] mailing list. > To unsubscribe: mailto:[email protected] > For general help: mailto:[email protected]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws