> From: Bill Davidson [mailto:bill...@gmail.com] > Subject: Re: "-d64" disappears from command line in "ps" output?
> > In what way does this concern Tomcat? > I wasn't sure if it had something to do with the way it was launched. Are you using jsvc? If so, it might strip off parameters it doesn't recognize (that's only speculation). > > Documentation for -d64 with a standard launcher seems to > > indicate it's only applicable for Solaris > I just now found this in the HotSpot FAQ: > http://www.oracle.com/technetwork/java/hotspotfaq-138619.html > "For consistency, the Java implementations on Linux accept the -d64 option." Let's look at the rest of the text in that area: "Since Solaris has both a 32 and 64-bit J2SE implementation contained within the same installation of Java, you can specify either version. If neither -d32 nor -d64 is specified, the default is to run in a 32-bit environment." "All other platforms (Windows and Linux) contain separate 32 and 64-bit installation packages. If both packages are installed on a system, you select one or the other by adding the appropriate "bin" directory to your path. For consistency, the Java implementations on Linux accept the -d64 option." So, again, the -d64 is only effective on Solaris, and is simply ignored on Linux unless you try to use it with a 32-bit JVM. > Are you saying that the Linux64-bit Java is 64 bit only > and therefore this option is irrelevant? Highly likely. It's possible to install a 32-bit JVM on a 64-bit platform, but I wouldn't think the package managers would do that by default. > If that is true, then the Java man page is > deficient and confusing. Not the first time. > > What do you think -d64 does? > It runs the program in a 64-bit environment. This is where it gets confusing. A JVM - including the standard launcher - can be built as either 32- or 64-bit, not both, so a given JVM installation is one or the other (except on Solaris). The execution mode you get depends on the JVM you've installed, not on command-line options. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org