Click to See Complete Forum and Search --> : Java code Compilation Programatically


August 23rd, 1999, 08:06 PM
Hi,
I'm using JDK1.2.2.In my application,when I selct a program name from a listbox(say,Add.java) and click the Ok button,it should compile the Add.java file and Add.class file should be created.How to compile a java file within another java application.Can anyone help me out.
Thanks in advance.

unicman
August 24th, 1999, 12:21 AM
I haven't really tried this but there is a class 'Compiler'. Have u tried that class?

- UnicMan