Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Structuring a .class file to jar on Run time

 
Natraj Aggas
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to construct a java program which will intake a .java file, execute, compile and will return a .class file. Again I need to take the .class file and make it to a jar - All these should happen on Run time. Can anyone please help me?


Thanks,
-N
 
Campbell Ritchie
Sheriff
Pie
Posts: 48972
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too difficult a question for “beginning”—moving thread.
 
Ivan Jozsef Balazs
Rancher
Posts: 979
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javax.tools.ToolProvider
java.util.jar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic