aspose file tools*
The moose likes Java in General and the fly likes Replace Class Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Replace Class Files" Watch "Replace Class Files" New topic
Author

Replace Class Files

nandhini sruthi
Greenhorn

Joined: Jan 11, 2008
Posts: 17
Hi,
I want to replace one Class Files from one location to other location,how can doing this using java.

Thanks in Advance.
nandhini sruthi
Greenhorn

Joined: Jan 11, 2008
Posts: 17
Hi,
When I replace the class and java files using browse button existing screen details should be changed with other details.
I planed to do like the following method,
please reply this method is the correct way or not:
"First I design the Screen with changes details using java then I will get that file using browse button in existing Screen(existing screen contains Browse button),After replace the changes details screen,screen should display the changes."
please any body help me.

Thanks in Advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
I don't understand what "replacing a class file from one location to other location" means. Is this a question about class loading and unloading, or about constructing a GUI of some sort?


Ping & DNS - my free Android networking tools app
nandhini sruthi
Greenhorn

Joined: Jan 11, 2008
Posts: 17
Hi,
I am doing License version functionality
I have trial version that contains two button Buy License and UPgrade and some details about trial version.I have to change from trial version to Licese version ,While click the Buy License button display one window that contains Browse button,I am getting some files from
any location using Browse button and moving that files into trial version files location,after moving some files,trial version should change to license version.

Thanks in Advance.
Prakash Subramanian
Ranch Hand

Joined: Feb 03, 2005
Posts: 32
If I guessed right, you have written a software which wants to change itself from a trial version to a licensed version, by copying the appropriate class files or java files. The concept itself is way out.... and your question does not reflect your need correctly if so. Software license enabling does not work this way.

If you think about it, and read about the concepts of class loading, program execution fundamentals and a few more topics, you would find a better way of approaching your problem.

You should rethink your strategy for this.
 
Don't get me started about those stupid light bulbs.
 
subject: Replace Class Files