Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13653

Re: the problem for accessing the classes in rt.jar

Date 2012-04-18 21:07 -0400
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: the problem for accessing the classes in rt.jar
References <22583724.345.1334591253848.JavaMail.geo-discussion-forums@vbvf19> <4f8e0210$0$290$14726298@news.sunsite.dk> <14699406.1250.1334754816127.JavaMail.geo-discussion-forums@vbyj26> <slrnjothhs.kvi.avl@gamma.logic.tuwien.ac.at> <29910219.1583.1334761581496.JavaMail.geo-discussion-forums@ynjm4>
Message-ID <4f8f656e$0$290$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 4/18/2012 11:06 AM, zyng wrote:
> Thank you. Now I recall why we reach the current stage:
>
> The classes we need for handling fast info documents, e.g. StAXDocumentParser.class, are contained within this JAR file FastInfo_x_x.jar, a free JAR file. So we include the FastInfo JAR file in the classpath. It is referenced in build.xml
>
> However, we also found that all classes inside FastInfo JAR file are also inside rt.jar. Since rt.jar comes with jre automatically, we try to reduce one 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 need to re-write the code which handles fast info files. Playing with build.xml cannot solve the problem.
>
> BTW, I think the way of organizing class files(FastInfo JAR -- not sure from Sun or Apache and all its content are also inside rt.jar) is not good.

You should avoid using anything undocumented from rt.jar.

It should not be a big problem using the FastInfo_x_x.jar - you
are not charged per jar file.

You should be able to get newest version from here:
   http://search.maven.org/#browse|-268259873

Arne

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

the problem for accessing the classes in rt.jar zyng <xsli2@yahoo.com> - 2012-04-16 08:47 -0700
  Re: the problem for accessing the classes in rt.jar markspace <-@.> - 2012-04-16 10:22 -0700
    Re: the problem for accessing the classes in rt.jar Lew <lewbloch@gmail.com> - 2012-04-16 14:31 -0700
  Re: the problem for accessing the classes in rt.jar Arne Vajhøj <arne@vajhoej.dk> - 2012-04-17 19:51 -0400
    Re: the problem for accessing the classes in rt.jar zyng <xsli2@yahoo.com> - 2012-04-18 06:13 -0700
      Re: the problem for accessing the classes in rt.jar Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-04-18 13:48 +0000
        Re: the problem for accessing the classes in rt.jar zyng <xsli2@yahoo.com> - 2012-04-18 08:06 -0700
          Re: the problem for accessing the classes in rt.jar zyng <xsli2@yahoo.com> - 2012-04-18 08:35 -0700
            Re: the problem for accessing the classes in rt.jar Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-04-18 16:02 +0000
            Re: the problem for accessing the classes in rt.jar markspace <-@.> - 2012-04-18 09:02 -0700
              Re: the problem for accessing the classes in rt.jar zyng <xsli2@yahoo.com> - 2012-04-18 10:49 -0700
                Re: the problem for accessing the classes in rt.jar Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-04-18 18:49 +0000
          Re: the problem for accessing the classes in rt.jar Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-04-18 15:50 +0000
          Re: the problem for accessing the classes in rt.jar Arne Vajhøj <arne@vajhoej.dk> - 2012-04-18 21:07 -0400
      Re: the problem for accessing the classes in rt.jar markspace <-@.> - 2012-04-18 07:45 -0700

csiph-web