Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jukka Lahtinen Newsgroups: comp.lang.java.programmer Subject: Re: classpath puzzle Date: Fri, 08 Jun 2012 07:46:07 +0300 Organization: A noiseless patient Spider Lines: 13 Message-ID: References: <3ui2t7tun0q3jo5ik96o084jpep9gmp0g3@4ax.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Injection-Info: ipa.eternal-september.org; posting-host="paPmXfJqRejvVuAyXZaB8g"; logging-data="30524"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XC3BmqOxwgyw3cNyy1IvZ" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) Cancel-Lock: sha1:pD93Axq5P1P1WSLL3fKewrmeFiA= sha1:88hkycxW0li4yWiFcGbcqgSWYbM= X-no-archive: yes Xref: csiph.com comp.lang.java.programmer:15100 Roedy Green writes: > 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? Aren't those sun.* classes in rt.jar ones meant for ONLY internal use by other classes of the sdk library, NOT for application programmers? -- Jukka Lahtinen