From owner-freebsd-questions@FreeBSD.ORG Thu Nov 3 00:05:18 2005 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 64BF216A41F for ; Thu, 3 Nov 2005 00:05:18 +0000 (GMT) (envelope-from ryan@masse.biz) Received: from web2.interquad.net (web2.interquad.net [66.225.197.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F8FC43D48 for ; Thu, 3 Nov 2005 00:05:17 +0000 (GMT) (envelope-from ryan@masse.biz) Received: from dyn216-8-170-5.adsl.mnsi.net ([216.8.170.5] helo=78ftvrr) by web2.interquad.net with esmtpa (Exim 4.52) id 1EXSbM-0006Ll-1U for freebsd-questions@freebsd.org; Wed, 02 Nov 2005 18:05:08 -0600 Message-ID: <000501c5e00a$18481880$6401a8c0@78ftvrr> From: "Ryan Masse" To: Date: Wed, 2 Nov 2005 19:04:00 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web2.interquad.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - masse.biz X-Source: X-Source-Args: X-Source-Dir: Subject: jre1.1.8 Class not found 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: Thu, 03 Nov 2005 00:05:18 -0000 I have installed the port 'jre' in which upon trying to execute a java class I get a class not found error message. Originally I thought it may be an issue with the CLASSPATH, however everything is set as it should. port installed to /usr/local/jre1.1.8 CLASSPATH = .:/usr/local/jre1.1.8/lib/rt.jar:/usr/local/jre1.1.8/lib/i18n.jar JAVA_HOME= /usr/local/jre1.1.8 I have a test class which consists of: public class Hello { public static void main(String args[]) { System.out.println("Hello World!"); } } It compiles fine to the current directory to Hello.class I try to execute it via $JAVA_HOME/bin/java Hello but get the class not found error. At this point I am at a loss. Any help would be appreciated. Thanks, Ryan