wood burning stoves*
The moose likes Java in General and the fly likes Here is how to create process and Image APPName.exe file instead of java or javaw Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Here is how to create process and Image APPName.exe file instead of java or javaw" Watch "Here is how to create process and Image APPName.exe file instead of java or javaw" New topic
Author

Here is how to create process and Image APPName.exe file instead of java or javaw

Pratap koritala
Ranch Hand

Joined: Sep 27, 2006
Posts: 252
Hi,
I am not talking about how to write kicker ( small c program that will create a new process with java.exe with parameters like java.exe -jar somejar.jar )

Ex: if you execute netbeans.exe(small kicker), it just starts another process with java.exe (try killing netbeans.exe ,your IDE still works)


I used to wondered,"How come eclipse.exe managed to embedded JVM with in its process(it won't create another process,unless it didn't find shared JVM)..."

I downloaded Eclipse Source,but its not much clear.
Here's much cleaner code. ( If you observe the code ,you can find much intresting things....)





[ July 28, 2008: Message edited by: Pratap koritala ]
 
wood burning stoves
 
subject: Here is how to create process and Image APPName.exe file instead of java or javaw