CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Java code Compilation Programatically

    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.


  2. #2
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: Java code Compilation Programatically

    I haven't really tried this but there is a class 'Compiler'. Have u tried that class?

    - UnicMan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured