jre1.1.8 Class not found

Ryan Masse ryan at masse.biz
Wed Nov 2 16:05:18 PST 2005

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

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.



More information about the freebsd-questions mailing list