This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes Which to keep JRE for Web Application : JRE\bin\server\jvm.dll or JRE\bin\client\jvm.dll Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Which to keep JRE for Web Application : JRE\bin\server\jvm.dll or JRE\bin\client\jvm.dll" Watch "Which to keep JRE for Web Application : JRE\bin\server\jvm.dll or JRE\bin\client\jvm.dll" New topic
Author

Which to keep JRE for Web Application : JRE\bin\server\jvm.dll or JRE\bin\client\jvm.dll

amol l a lekurwale
Ranch Hand

Joined: Oct 16, 2008
Posts: 30
I am developing a Web based application. For that, I dont want to distribute the entire JDK, but only that 'much', as it is required for deployment, and execution. For that, I plan to keep all the needed files (like server\jvm.dll from JDK's JRE copied to Program Files JRE\bin\server\jvm.dll). Please suggest me a solution to do so. Also, if in case, I dont have any option other than keeping the JDK as it is, can I delete the JDK\jre, and force the application to use Program Files JRE, by adding the server\jvm.dll, as stated above?
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

This is strange. You are writing a web application, so obviously, it will be deployed on a web/app server.
The web/app server will anyways use a JDK specified by the user. A web application can not run in it's own JDK!


apigee, a better way to API!
Vivek Kr Singh
Ranch Hand

Joined: Oct 12, 2007
Posts: 56
All application servers depend on jvm.dll to be locally installed on the client machine. For any web application going on application severs there will always be a JRE installation. BEA ( Oracle) Weblogic Server for example comes with a custom JVM called jRockit. Developers are encouraged to work in jRockit in development mode.


SCJP 1.4
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Which to keep JRE for Web Application : JRE\bin\server\jvm.dll or JRE\bin\client\jvm.dll
 
Similar Threads
Tomcat as a service
Where can I see JVM on my system
eclipse doesn't run on vista (x64)
Does any file represent jvm ?
64bit Groovy