aspose file tools*
The moose likes Java in General and the fly likes Structuring a .class file to jar on Run time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Structuring a .class file to jar on Run time" Watch "Structuring a .class file to jar on Run time" New topic
Author

Structuring a .class file to jar on Run time

Natraj Aggas
Greenhorn

Joined: Jul 11, 2011
Posts: 15
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

Joined: Oct 13, 2005
Posts: 39436
    
  28
Too difficult a question for “beginning”—moving thread.
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 867
    
    5
javax.tools.ToolProvider
java.util.jar
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Structuring a .class file to jar on Run time