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


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

Re: Strange problem with .jar and .class files

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Strange problem with .jar and .class files
Date Fri, 13 Jan 2012 07:42:29 -0800
Organization albasani.net
Lines 36
Message-ID <jepjd6$4nr$2@news.albasani.net> (permalink)
References <86312e3c-b1cd-47d6-819f-5337ac665d00@t13g2000yqg.googlegroups.com> <c9f83880-21f2-4ec7-8afc-fe4e56f0b5b7@n6g2000vbz.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net sk9RNTYSbPXZWYvWQ2o56rIZfhAZjAQJHGIYB9JkeTJi0s5B1TQVrBQzJS8Ea51I0s4qrTP0jJLiUIaMxszXssY0VgTLAo7upiYR7DUw9ZNRIwsGcO3kKUMQdhx08Kd4
NNTP-Posting-Date Fri, 13 Jan 2012 15:42:30 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="uj/UuAsjmHNrRZvIQcgtFd+svKDcM8HqSbkjqGcULs32Zj2UzStFGv3jYVL6Q9bBBMb+/+48S1eRDKwGdCgl1v2WBcvW9wrTizDhAjVUPEm1pyR8tBupea6BPSRDUIN3"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111109 Thunderbird/3.1.16
In-Reply-To <c9f83880-21f2-4ec7-8afc-fe4e56f0b5b7@n6g2000vbz.googlegroups.com>
Cancel-Lock sha1:WOU5cgulHMmbSGCyhkgo3wnMZOY=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11305

Show key headers only | View raw


On 01/13/2012 02:24 AM, Eric Tonissen wrote:
> On 12 jan, 12:40, Eric Tonissen<EricTonis...@zonnet.nl>  wrote:
>> I have a Java program normal running. I needed some .class files from
>> another project, builded an .jar file from it, added this to the
>> classpath and it works.
>>
>> But now we decided not to use the .class files anymore but to make a
>> copy from the corresponding sources to my own project.
>> So I did. But now I have a lot of compile errors about sources which
>> it also needs ?
>>
>> I unzipped all the .jars files on the class path, but they are also
>> not in here.
>>
>> Is it possible that the compiler includes information into the .class
>> files, so it doesn't need the other .class files anymore?
>
> We find out that the java used lazy loading of the class-files at
> runtime.
> So an import of a class is only done when needed.
> That's why, when I copied only the sources of the class-files to my
> project I got compile errors.
> Because these sources has methods which I don't use, but needs sources
> which are not available.

Why have you not answered my question? You came here asking for help but 
refused to interact with any of us. You didn't even answer a direct question. 
What's that all about? Hm?

You do know this is a discussion group and not a help desk, right? And that 
interacting with us would have helped you *more*? Hm?

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

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


Thread

Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-12 03:40 -0800
  Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 10:33 -0500
    Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 08:14 -0800
      Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 12:34 -0500
        Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-12 13:42 -0800
          Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-12 19:38 -0500
            Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-12 21:05 -0800
              Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 03:41 -0500
                Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 04:08 -0500
                Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:40 -0800
                Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 12:55 -0500
                Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:34 -0800
                Re: Strange problem with .jar and .class files Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-13 21:45 -0400
  Re: Strange problem with .jar and .class files Roedy Green <see_website@mindprod.com.invalid> - 2012-01-12 09:40 -0800
  Re: Strange problem with .jar and .class files Eric Tonissen <EricTonissen@zonnet.nl> - 2012-01-13 02:24 -0800
    Re: Strange problem with .jar and .class files Lew <noone@lewscanon.com> - 2012-01-13 07:42 -0800
      Re: Strange problem with .jar and .class files Jeff Higgins <jeff@invalid.invalid> - 2012-01-13 13:18 -0500
        Re: Strange problem with .jar and .class files Lew <lewbloch@gmail.com> - 2012-01-13 15:40 -0800

csiph-web