Yes, it should be possible to simply cut and paste the new lines of code. Or you can use the program 'patch' if it is on your system. By the way, to what end are you working with Maxima and Java? Just curious. best, Robert Dodier