From owner-freebsd-java@FreeBSD.ORG Tue Apr 3 11:22:41 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E782216A402 for ; Tue, 3 Apr 2007 11:22:41 +0000 (UTC) (envelope-from tcai@sigma-rt.com) Received: from sigma-rt.com (209-128-104-042.BAYAREA.NET [209.128.104.42]) by mx1.freebsd.org (Postfix) with ESMTP id D738B13C487 for ; Tue, 3 Apr 2007 11:22:41 +0000 (UTC) (envelope-from tcai@sigma-rt.com) Received: (qmail 30662 invoked by uid 509); 3 Apr 2007 03:56:00 -0700 Received: from unknown (HELO sigma-b2d84f996) (tcai@sigma-rt.com@218.249.141.34) by sigma-rt.com with SMTP; 3 Apr 2007 03:56:00 -0700 Date: Tue, 3 Apr 2007 18:56:06 +0800 From: "Top Chai" To: "freebsd-java" Message-ID: <200704031856047651159@sigma-rt.com> X-mailer: Foxmail 6, 5, 104, 21 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: problem with FreeBSD run JAVA programme 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: Tue, 03 Apr 2007 11:22:42 -0000 Hi,all Today i try repot JAVA programme form CentOS script: java -classpath .:/usr/lss/node.jar:/usr/lss/node/lib/external.jar com.sigma_rt.lss.application.AGENT_Startup & see error with " Exception in thread "main" java.lang.NoClassDefFoundError: com/sigma_rt/lss/application/AGENT_Startup" but jar file assured . debug java with following java -classpath -esa .:/usr/lss/node.jar:/usr/lss/node/lib/external.jar com.sigma_rt.lss.application.AGENT_Startup & # Exception in thread "main" java.lang.NoClassDefFoundError: /:/usr/lss/node/jar:/usr/lss/node/lib/external/jar why i am input /usr/lss/node.jar but it change to /usr/lss/node/jar ???? Top Chai 2007-04-03