From owner-freebsd-java@FreeBSD.ORG Mon Nov 17 09:00:06 2003 Return-Path: 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 7FD1916A4CE for ; Mon, 17 Nov 2003 09:00:06 -0800 (PST) Received: from arwen.dawnbreaks.net (eth4771.sa.adsl.internode.on.net [150.101.250.162]) by mx1.FreeBSD.org (Postfix) with SMTP id BF92543FE1 for ; Mon, 17 Nov 2003 09:00:02 -0800 (PST) (envelope-from db@dawnbreaks.net) Received: (qmail 34372 invoked by uid 1001); 17 Nov 2003 17:00:15 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Nov 2003 17:00:15 -0000 Date: Tue, 18 Nov 2003 03:30:15 +1030 (CST) From: David Bullock X-X-Sender: db@arwen.lorien.dawnbreaks.net To: Roberto Nunnari In-Reply-To: <3FB8FCBA.4020109@supsi.ch> Message-ID: <20031118032756.S72868-100000@arwen.lorien.dawnbreaks.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: java@freebsd.org Subject: Re: ClassNotFoundException X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 17:00:06 -0000 On Mon, 17 Nov 2003, Roberto Nunnari wrote: > Hi there. > > could any kind soul help please? Can't understand what's wrong here.. When you use "java -jar", any "-classpath" or $CLASSPATH is ignored. Either set the value of the 'Class-Path:' manifest entry when you build the jar, or use simply: java -cp my.jar driver.jar org.example.Main cheers, David.