Read what sun says: <sun statement> The sun.* packages are not part of the supported, public interface. A Java program that directly calls into sun.* packages is not guaranteed to work on all Java-compatible platforms. In fact, such a program is not guaranteed to work even in future versions on the same platform. For these reasons, there is no documentation available for the sun.* classes. Platform-independence is one of the great advantages of developing in the Java programming language. Furthermore, Sun and our licensees of Java technology are committed to maintaining backward compatibility of the APIs for future versions of the Java platform. (Except for code that relies on serious bugs that we later fix.) This means that once your program is written, the class files will work in future releases. </sun statement> http://java.sun.com/products/jdk/faq/faq-sun-packages.html If you wan't to ignore this warning you have to look at the sources :) Or find somebody else who did this for you. > -----Ursprüngliche Nachricht----- > Von: Zsolt Koppany [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 21. Dezember 2000 15:57 > An: [EMAIL PROTECTED] > Betreff: Re: sun java compiler > > > I know and use javac, but I would like to write an java > application that > uses the internal package (sun.tool.javac.*) that is used by "javac" > too. > > > Marino Vittorio wrote: > > > > Just edit javac and hit return with no args to see a list > of all available > > options. *Smile* > > > > -----Original Message----- > > From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 21, 2000 12:18 PM > > To: [EMAIL PROTECTED] > > Subject: sun java compiler > > > > Hi, > > > > I understand that tomcat uses the sun.tools.javac compiler > as default. > > Is there a available documentation about the compiler for > example hot to > > set a warning level etc? > > > > -- > > Zsolt Koppany > > Intland GmbH www.intland.com > > Schulze-Delitzsch-Strasse 16 > > D-70565 Stuttgart > > Tel: +49-711-7871080 Fax: +49-711-7871017 > > -- > Zsolt Koppany > Intland GmbH www.intland.com > Schulze-Delitzsch-Strasse 16 > D-70565 Stuttgart > Tel: +49-711-7871080 Fax: +49-711-7871017 >