A friendly place for programming greenhorns!
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
Author
If possible to compile a java file at runtime of another java program
Rajasekaran Venkadasalam
Greenhorn
Joined: May 16, 2002
Posts: 8
posted
May 20, 2002 23:20:00
0
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
posted
May 21, 2002 07:19:00
0
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
posted
May 21, 2002 07:23:00
0
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)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter