JDK-6339492 : having a JVM dll library with no java.exe
  • Type: Enhancement
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 6
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-10-20
  • Updated: 2011-02-16
  • Resolved: 2006-11-16
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE REQUEST :
This falls under Java Langauge Spec and Java runtime.  Basically, it would be very nice if there was a library dll or(*.so on linux) where people could create a an exe to start the JVM.  Right now, when I start 50 programs with java.exe.  They are all listed under java.exe and cannot be told apart in windows nor linux.  If Sun released a dll, we could create simple exe's that start the JVM and things like eclipse.exe and tomcat.exe would instead of forking and creating a java.exe process which can't be told apart from other java.exe processes instead would all be run under tomcat.exe and eclipse.exe so I could tell how much memory eclipse is using by looking up eclipse.exe and tomcat by it's exe instead of just seeing the java's that they forked off.

JUSTIFICATION :
this is necessary so clients don't even know the apps are written in java which scares some clients away.  It is also necessary so in the task manager, one can tell when eclipse.exe went haywire vs. tomcat going haywire.  Right now, you can't tell.  You just see some forked java.exe go to 100% cpu or see it's memory go up and up, but don't know who it is.

Comments
EVALUATION This request is related to bug 4634721, which requested to be able to exec a java process to have a different name for ps. With some programming, it is possible to use the Java Invocation Interface, part of JNI, to link with and then run java.
20-10-2005