J
Joseph Dionne
I know that the java.class.path can be changed on-the-fly, but I ask why
not? Is it part of the security of Java, or a definition of the
sandbox, by setting the jvm classpath externally?
My questions is inspired by an application I am working on, and
admittedly I am a newbie to Java, but old timer at software development.
I am attempting to make a pure Java inet daemon, that takes Java
classes as the application to start. I want it to work like inetd, and
not have to restart the jvm. To do this, the "new" service's
"CLASSPATH", or at least the .jar file, needs to be added to the running
JVM.
I know, I need to make a custom classloader, and I am working to the
end, but I want to understand why this is a restriction in Java.
not? Is it part of the security of Java, or a definition of the
sandbox, by setting the jvm classpath externally?
My questions is inspired by an application I am working on, and
admittedly I am a newbie to Java, but old timer at software development.
I am attempting to make a pure Java inet daemon, that takes Java
classes as the application to start. I want it to work like inetd, and
not have to restart the jvm. To do this, the "new" service's
"CLASSPATH", or at least the .jar file, needs to be added to the running
JVM.
I know, I need to make a custom classloader, and I am working to the
end, but I want to understand why this is a restriction in Java.