Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: the problem for accessing the classes in rt.jar Date: Wed, 18 Apr 2012 09:02:16 -0700 Organization: A noiseless patient Spider Lines: 13 Message-ID: References: <22583724.345.1334591253848.JavaMail.geo-discussion-forums@vbvf19> <4f8e0210$0$290$14726298@news.sunsite.dk> <14699406.1250.1334754816127.JavaMail.geo-discussion-forums@vbyj26> <29910219.1583.1334761581496.JavaMail.geo-discussion-forums@ynjm4> <21528069.1815.1334763305959.JavaMail.geo-discussion-forums@yntt13> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 18 Apr 2012 16:02:17 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="29538"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oQPQ8ml4P8STHelPlq05eIGCntDA7Pzw=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 In-Reply-To: <21528069.1815.1334763305959.JavaMail.geo-discussion-forums@yntt13> Cancel-Lock: sha1:d1yEUOmdV+hlMGO/ZqCyRoRvg7k= Xref: csiph.com comp.lang.java.programmer:13641 On 4/18/2012 8:35 AM, zyng wrote: > I copied his answer here: "When javac is compiling code it doesn't > link against rt.jar by default. Instead it uses special symbol file > lib/ct.sym with class stubs. > And the answer to my question is: javac -XDignore.symbol.file Sweet. Thanks for posting that. I think you've helped us more than we helped you. Much appreciated!