From owner-freebsd-questions@FreeBSD.ORG Sat Jul 1 16:02:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA8F616A403 for ; Sat, 1 Jul 2006 16:02:31 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E70B44B69 for ; Sat, 1 Jul 2006 16:02:30 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1185186uge for ; Sat, 01 Jul 2006 09:02:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=blqq7jNEnhMehvD2jvDzqTtQ3jDgDCrSeTAU/sOhdj9DRV2zTAHMbsKOnYn17xNnrvgTDyfhRdlVZD+AgICP9fu5ssSVj0pbbseqf09/Tm5X2MELPBOvRkAVUMQZY0B+0KyGVfky4RdKSmSjMeaTO8LRGlhef/Cwry2XVRvAvjI= Received: by 10.66.240.12 with SMTP id n12mr4131707ugh; Sat, 01 Jul 2006 09:02:24 -0700 (PDT) Received: by 10.67.86.1 with HTTP; Sat, 1 Jul 2006 09:02:24 -0700 (PDT) Message-ID: <80f4f2b20607010902t67d0b4a8xa2698674ad633b2b@mail.gmail.com> Date: Sat, 1 Jul 2006 12:02:24 -0400 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <80f4f2b20606301954i5cd8cfat886f8ac01f4376ae@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20606301943i42ab7839x71600dced83c122e@mail.gmail.com> <80f4f2b20606301954i5cd8cfat886f8ac01f4376ae@mail.gmail.com> Subject: Re: one more question, related to java/CLASSPATH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 16:02:31 -0000 OK, sorry for being a continuous bother on this, but google is failling me, and I cannot find a reason for this issue. Java will not run an app, and everything I've read says that "." should be in the classpath to make it work, so I'm thinking this is a BSD-Java implementation related issue. Any ideas? sjss@elrond 11:54:17 (0) ~/dev/java/test > java -classpath . test.java Exception in thread "main" java.lang.NoClassDefFoundError: test/java sjss@elrond 11:54:27 (0) ~/dev/java/test > java -version java version "1.5.0-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p3-root_01_jul_2006_07_53) Java HotSpot(TM) Client VM (build 1.5.0-p3-root_01_jul_2006_07_53, mixed mode) sjss@elrond 11:54:43 (0) ~/dev/java/test > ls test.class test.java I don't know what other info to send. Running 6.1, the specific port was ports/java/jdk15 Thanks, -Jim