permaculture playing cards
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


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: 43885
    
  32
Too difficult a question for “beginning”—moving thread.
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 968
    
    5
javax.tools.ToolProvider
java.util.jar
 
Have you checked out Aspose?
 
subject: Structuring a .class file to jar on Run time
 
It's not a secret anymore!