File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

Structuring a .class file to jar on Run time

Natraj Aggas

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

Campbell Ritchie

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

Joined: May 22, 2012
Posts: 865
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Structuring a .class file to jar on Run time
Similar Threads
running a class in a jar ......
How to create a jar file of a java project that uses Derby database
unable to compile class for JSP
Run the .jar file
Specify classpath when run class in jar file