Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: zyng Newsgroups: comp.lang.java.programmer Subject: Re: the problem for accessing the classes in rt.jar Date: Wed, 18 Apr 2012 08:06:21 -0700 (PDT) Organization: http://groups.google.com Lines: 20 Message-ID: <29910219.1583.1334761581496.JavaMail.geo-discussion-forums@ynjm4> References: <22583724.345.1334591253848.JavaMail.geo-discussion-forums@vbvf19> <4f8e0210$0$290$14726298@news.sunsite.dk> <14699406.1250.1334754816127.JavaMail.geo-discussion-forums@vbyj26> NNTP-Posting-Host: 205.156.36.56 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1334762045 20349 127.0.0.1 (18 Apr 2012 15:14:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 18 Apr 2012 15:14:05 +0000 (UTC) Cc: avl@logic.at In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=205.156.36.56; posting-account=oo44OQoAAABMDvaRlaO3SeQ5MVbxqLdH User-Agent: G2/1.0 X-Received-Bytes: 2254 Xref: csiph.com comp.lang.java.programmer:13637 Thank you. Now I recall why we reach the current stage: The classes we need for handling fast info documents, e.g. StAXDocumentPars= er.class, are contained within this JAR file FastInfo_x_x.jar, a free JAR f= ile. So we include the FastInfo JAR file in the classpath. It is referenced= in build.xml=20 However, we also found that all classes inside FastInfo JAR file are also i= nside rt.jar. Since rt.jar comes with jre automatically, we try to reduce o= ne JAR file in our develop environment by eliminating FastInfo JAR and use = rt.jar. Then we reached the current stage. Anyway, with all the help, I believe that to really solve the problem, we n= eed to re-write the code which handles fast info files. Playing with build.= xml cannot solve the problem.=20 BTW, I think the way of organizing class files(FastInfo JAR -- not sure fro= m Sun or Apache and all its content are also inside rt.jar) is not good.=20 Thank you all for the help.