tag:blogger.com,1999:blog-3195885170348729753.post1785399258012718312..comments2023-11-29T17:45:50.424+01:00Comments on Java mon amour: How to switch from Sun JDK to JRockit?Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3195885170348729753.post-55016358888943832182010-09-17T07:44:35.906+02:002010-09-17T07:44:35.906+02:00setting java_vendor and java_home should do. As fo...setting java_vendor and java_home should do. As for memory parameters and others, commEnv.sh file in /common/bin directory decides what to use depending on JAVA_VENDOR variable.Lost IN Translationhttps://www.blogger.com/profile/08350180058234642081noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-68015336550162470852010-07-05T00:28:07.745+02:002010-07-05T00:28:07.745+02:00It is very likely that it will not work. Just chan...It is very likely that it will not work. Just changing the java executable is not enough. Memory parameters and garbage collection will need changes.<br /><br />e.g. -XX:PermSize= , <br />-XX:MaxPermSize= are not available in jRockit. Garbage collector parameters for jRockit are completely different.<br /><br />jRockit likes -jrockit better than -server of HotSpot. -server will also work for jockit.<br /><br />If you are running a small time Weblogic installation for demo, probably you can get away with just changing the value in setDomainEnv.sh|cmd for JAVA_HOME. If its a system in production or testing, its very likely that it will fall flat.<br /><br />Also if you are running a vendor application on Weblogic, its wise to consult the vendor for support.<br /><br />Don't undermine SUN HotSpot. Have a look at jconsole, visualvm and standard utilities like jmap...you may change your mind..<br /><br />With Java 6 you also get G1 garbage collector...touted to be the next generation and a low latency one..<br /><br />Also underlying OS plays an important role. If Solaris, stick to SUN HotSpot and if Linux or Windows try jRockit.<br /><br />HotSpot and jRockit are a close match...but I like jRockit better. jRockit Mission Control (toolset) is amazing (jconsole for HotSpot is not far tho..)Unknownhttps://www.blogger.com/profile/14621040913439968702noreply@blogger.com