aspose file tools
The moose likes Java in General and the fly likes If possible to compile a java file at runtime of another java program Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

If possible to compile a java file at runtime of another java program

Rajasekaran Venkadasalam
Greenhorn

Joined: May 16, 2002
Posts: 8
if possible to compile a java program in runtime of another java program.reply me your ideas...
with regrds
venkat
Sunny Liu
Ranch Hand

Joined: Mar 15, 2002
Posts: 63
Yes, You can either use Runtime class to call external java compiler or you may use sun.tools package's compiler API to compile java file


If I am rich, I will spend more.<p>IBM 486 (OOAD & UML) & 141 (XML) passed<br />Oracle 1Z0-007 passed<br />MCSD MCDBA MCSE <br />SCJP SCSSA<br />CCNA CNA A+
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
Do not post duplicates. I'm closing this one check for responses to your post in Beginner.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: If possible to compile a java file at runtime of another java program
 
Similar Threads
array doubt
runtime exec
Rumtime Compilation of Java
Generics problem (? extends Object)
how to include jar files in classpath (eclipse +Quartz Scheduler)