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


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

Re: classpath puzzle

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: classpath puzzle
Date 2012-06-07 18:08 -0700
Organization A noiseless patient Spider
Message-ID <jqrjai$4ah$1@dont-email.me> (permalink)
References <3ui2t7tun0q3jo5ik96o084jpep9gmp0g3@4ax.com>

Show all headers | View raw


On 6/7/2012 5:50 PM, Roedy Green wrote:
> import sun.util.logging.PlatformLogger;
>
> will compile fine inside the IntelliJ IDE but fails with symbol not
> found with javac *.java or with ANT
>
> The class files lives inside rt.jar.  Javac is supposed to find such
> files without help.  Any ideas on what is going on?
>


Didn't we help you with this already?  Didn't we discover that javac 
compiles against a shortened "stub" list of classnames, and doesn't use 
the rull rt.jar during compilation?  Didn't we find a command line 
switch for that told javac to not do that?

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


Thread

classpath puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-06-07 17:50 -0700
  Re: classpath puzzle markspace <-@.> - 2012-06-07 18:08 -0700
    Re: classpath puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-06-07 18:45 -0700
      Re: classpath puzzle Tom McGlynn <taqmcg@gmail.com> - 2012-06-08 06:32 -0700
        Re: classpath puzzle markspace <-@.> - 2012-06-08 15:22 -0700
        Re: classpath puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-06-08 20:55 -0700
  Re: classpath puzzle Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-06-08 07:46 +0300
    Re: classpath puzzle Roedy Green <see_website@mindprod.com.invalid> - 2012-06-08 08:26 -0700

csiph-web