|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Nothing is like before.
![]() ![]() ![]() ![]() Join Date: Jul 2002
Location: Santiago, Chile
Posts: 581
|
Java: can you compile a program inside another program?
I have to answer this question for tomorrow. Any help is appreciated. Thanks!!! The question is if you can make a program that can compile programs, and how do you do it.
__________________
Say yes to every opportunity that comes your way, as they may never come back. |
|
|
|
|
|
#2 (permalink) |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2002
Location: Vienna/Austria/Europe
Posts: 1,168
|
Theoretically yes, since javac is a java program itself; but in fact, the realistic way would be to call an existing java compiler from within your appllication, then dynamically (try to) load the newly compiled class.
__________________
If you think my English is bad, wait till you read my Polish. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|