Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.tools.JavaCompiler and jar files

Gen.JavaJul 21 2009 — edited Jul 23 2009
Hey all,

I have an executable jar file. This file contains an application that compiles java source files. If I execute the jar file from the command line, the compiler generates class files as expected. However, If I click on the jar file, the compiler does not generate any class files. I already flush and close the StandardJavaFileManager at the end.

Thank you

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 20 2009
Added on Jul 21 2009
10 comments
454 views