tools.jar

hi.. i imported tools.jar in my project and i want to use com.sun.tools.javac.v8.comp. is it a class or a method. if it is a class how can i see its methods or if it is a method how can i see its parameters. it will be better if someone explain it with a small example. thanks...
[286 byte] By [aDiGea] at [2007-11-26 18:09:45]
# 1
I'd say it's a package ...
quittea at 2007-7-9 5:41:48 > top of Java-index,Java Essentials,Java Programming...
# 2
@Op. Why do you think you need to use that?
kajbja at 2007-7-9 5:41:48 > top of Java-index,Java Essentials,Java Programming...
# 3
i need to use it because i wantt to compile some java codes at runtime in my program. and i think that i can do it with that package. so i have to know what properties does it have...
aDiGea at 2007-7-9 5:41:48 > top of Java-index,Java Essentials,Java Programming...
# 4
Use Java 6 and the compiler API: http://java.sun.com/javase/6/docs/api/javax/tools/JavaCompiler.html http://jcp.org/en/jsr/detail?id=199 http://www.juixe.com/techknow/index.php/2006/12/13/java-se-6-compiler-api/
mlka at 2007-7-9 5:41:48 > top of Java-index,Java Essentials,Java Programming...