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


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

How to print out the currently used JAR file path to verify it is using right JAR?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!gd10g2000vbb.googlegroups.com!not-for-mail
From www <xsli2@yahoo.com>
Newsgroups comp.lang.java.programmer
Subject How to print out the currently used JAR file path to verify it is using right JAR?
Date Fri, 7 Oct 2011 06:56:57 -0700 (PDT)
Organization http://groups.google.com
Lines 12
Message-ID <4d7daeb4-7da7-47c0-a4cf-d3c5d1be2ef0@gd10g2000vbb.googlegroups.com> (permalink)
NNTP-Posting-Host 205.156.36.56
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1317995817 32751 127.0.0.1 (7 Oct 2011 13:56:57 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Fri, 7 Oct 2011 13:56:57 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info gd10g2000vbb.googlegroups.com; posting-host=205.156.36.56; posting-account=oo44OQoAAABMDvaRlaO3SeQ5MVbxqLdH
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALESNKRC
X-HTTP-UserAgent Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8623

Show key headers only | View raw


Hi,

My Java program running on linux machines fails on the code which is
using 3rd party JAR file. The error message suggest that it is
probably using an old version JAR file which I am not aware where it
is. If it is using the NEW jar file, the program should pass.

I hope to add some printing statements in the code to show the JAR
file name and path right before the code crashes. Is there a way to do
it?

Thank you very much.

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

How to print out the currently used JAR file path to verify it is using right JAR? www <xsli2@yahoo.com> - 2011-10-07 06:56 -0700
  Re: How to print out the currently used JAR file path to verify it is using right JAR? www <xsli2@yahoo.com> - 2011-10-07 07:25 -0700
    Re: How to print out the currently used JAR file path to verify it is using right JAR? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-10-07 10:18 -0500
      Re: How to print out the currently used JAR file path to verify it is using right JAR? www <xsli2@yahoo.com> - 2011-10-07 08:30 -0700
    Re: How to print out the currently used JAR file path to verify it is using right JAR? markspace <-@.> - 2011-10-07 08:39 -0700
      Re: How to print out the currently used JAR file path to verify it is using right JAR? Lew <lewbloch@gmail.com> - 2011-10-07 08:47 -0700
      Re: How to print out the currently used JAR file path to verify it is using right JAR? www <xsli2@yahoo.com> - 2011-10-07 09:37 -0700
        Re: How to print out the currently used JAR file path to verify it is using right JAR? markspace <-@.> - 2011-10-07 11:17 -0700
          Re: How to print out the currently used JAR file path to verify it is using right JAR? www <xsli2@yahoo.com> - 2011-10-07 11:37 -0700
  Re: How to print out the currently used JAR file path to verify it is using right JAR? Roedy Green <see_website@mindprod.com.invalid> - 2011-10-07 10:50 -0700
    Re: How to print out the currently used JAR file path to verify it is using right JAR? www <xsli2@yahoo.com> - 2011-10-07 11:00 -0700

csiph-web