File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

If possible to compile a java file at runtime of another java program

 
Rajasekaran Venkadasalam
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
if possible to compile a java program in runtime of another java program.reply me your ideas...
with regrds
venkat
 
Sunny Liu
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Yes, You can either use Runtime class to call external java compiler or you may use sun.tools package's compiler API to compile java file
 
Carl Trusiak
Sheriff
Posts: 3340
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Do not post duplicates. I'm closing this one check for responses to your post in Beginner.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic