From: Roland.Schemers@Eng (Roland Schemers)
Message-Id: <199803021949.LAA00778@crypto.eng.sun.com>
Subject: Re: JAR command
To: PLUONG@us.oracle.com (PLUONG.US.ORACLE.COM)
Date: Mon, 2 Mar 1998 11:49:51 -0800 (PST)
In-Reply-To: <199803021908.LAA14311@mailsun2.us.oracle.com> from "PLUONG.US.ORACLE.COM" at Mar 2, 98 10:54:51 am
Just create a directory containing only the files you want in the jar
file, and then jar up that directory:
jar cvf0 test.jar oracle
roland
> Hi,
>
> When I ran jar command, I got error message as following:
> % jar cvf0 test.jar `find oracle -name "*.class" -print`
> jar: Arg list too long
>
> I try the other way, I create some smaller jar files (test1.jar,
> test2.jar, etc...), and put them into big jar file:
> % jar cvf0 test.jar test1.jar test2.jar test3.jar
> Is this way alright? If not, could you please give me some hints to
> solve this problem?
>
> Thanks,
> Phong
>
>