From owner-freebsd-java@FreeBSD.ORG Mon Sep 11 18:46:23 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E64116A403 for ; Mon, 11 Sep 2006 18:46:23 +0000 (UTC) (envelope-from hmgordon@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0231443D45 for ; Mon, 11 Sep 2006 18:46:22 +0000 (GMT) (envelope-from hmgordon@fastmail.fm) Received: from frontend3.internal (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id 0F1EBDA5E49 for ; Mon, 11 Sep 2006 14:46:20 -0400 (EDT) Received: from web4.internal ([10.202.2.213]) by frontend3.internal (MEProxy); Mon, 11 Sep 2006 14:46:21 -0400 Received: by web4.internal (Postfix, from userid 99) id 3830657D4; Mon, 11 Sep 2006 14:46:21 -0400 (EDT) Message-Id: <1158000381.9690.270656392@webmail.messagingengine.com> X-Sasl-Enc: hcCJcy9Zr6exz/LaNOLzsNVdpM2guwi5gSZlQSKauYCI 1158000381 From: "Mark Gordon" To: freebsd-java@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface Date: Mon, 11 Sep 2006 13:46:21 -0500 Subject: Where to edit the /usr/local/bin/javavm script X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 18:46:23 -0000 Hi All, This is a simple question and I apologise in advance for posting it. Nearly all of my Java experience has been gained in the Windows environment. I came across a possible solution (http://lists.freebsd.org/pipermail/freebsd-java/2006-April/005212.html)to a problem I too was experincing. What I want to know is where in the /usr/local/bin/javavm script file do I add the jvm argument -XX:+UseMembar? Once this file has been edited and saved do I need to restart the BSD box or are the arguments added the next time I run a java program? In case you ask I'm using FreeBSD 6.1-STABLE and the Java build version is this Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b00) Many thanks in advance, Mark -- Mark Gordon hmgordon@fastmail.fm