Possible to access java application as a new process? -
to avoid memory problems within jvm, i'm looking create new processes individual applets hosted within main application. there way similar following?
file file = new file("something.jar"); process process = new processbuilder("java", "-jar", file.getabsolutepath()).start(); // somehow access process class<?> main = process.getmainclass();
really looking have ability interact java process, if comes down using reflection , such.
Comments
Post a Comment