how to update the jazz script (javascript) using java?

2 answers

You would have to locate the file and upload a new file to the same location as process attachment. I haven't tried that myself and I am not sure that this is public API. You can follow https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ on how to inspect the Process editor and try to debug what it is doing.