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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -