Results 1 to 2 of 2
- 11-03-2009, 05:55 AM #1
Member
- Join Date
- Nov 2009
- Posts
- 1
- Rep Power
- 0
How can i execute one java file(dynamically created) from the other
Hi,
I need a solution for the below problem...
How can i execute one java file(dynamically created) from the other? I am using Eclipse editor for my programming...
In detail what i am doing is.....
I have class A which contains the main method. In this file A i have the code to generate the Class B (created during runtime while executing class A). And i want to execute the class B from class A itself?
I have tried ......Run.getruntime.exec("javac B") and Run.getruntime.exec("java B"). But this doesnot works.
If reflection concept works in this case please let me know how to use that.
Anyone please suggest me the solution. If you want more details please let me know i will provide.
Thanks,
Rak
- 11-03-2009, 07:07 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
How to create ActionListners for dynamically created MenuItem?
By anilshelar in forum AWT / SwingReplies: 3Last Post: 10-27-2009, 02:19 PM -
Problem executing .exe file created with C++ code
By Singing Boyo in forum Advanced JavaReplies: 45Last Post: 05-30-2009, 12:39 AM -
error while running jar file created from netbeans
By ecstatic in forum NetBeansReplies: 2Last Post: 03-09-2009, 02:36 AM -
[SOLVED] Can variable names be dynamically created?
By CJSLMAN in forum New To JavaReplies: 4Last Post: 01-03-2009, 01:06 AM -
How to find file created date.....
By roshithmca in forum Advanced JavaReplies: 1Last Post: 02-18-2008, 09:48 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks