Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old October 28th, 2002   #1 (permalink)
Nothing is like before.
 
Finalbuster's Avatar
 
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.
Finalbuster is offline   Reply With Quote
Old October 29th, 2002   #2 (permalink)
Emu author
 
ammoQ's Avatar
 
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.
ammoQ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 21:34.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5