SuSE GmbH

SuSE Support Database

Title: Java development environment, CLASSPATH

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Java development environment, CLASSPATH

Applicable to
S.u.S.E. version: 4.4
Netscape version: 3.01
JDK version: 1.0.2-pl2

Symptom:

Self build Java classes are not found. Nevertheless strange applets from WWW can be excuted via Netscape.

A simple program like:

import java.util.*;

public class HelloWorld {
    public static void main(String args[]) {
        System.out.println("Hello java");
    }
}
leads only into the error message: Can't find class HelloWorld

Cause:

During the installation the environment variable CLASSPATH was set by Netscape. This is necessary for the JAVA Plug In to be found by Netscape:
CLASSPATH=/usr/X11R6/lib/netscape/java_301

Solution:

Credits:

The most part of this article is based upon information from Manfred Comes (100407.403@CompuServe.COM).

----------

Keywords: JAVA, JDK, JWS, CLASSPATH, NETSCAPE, CAN'T FIND CLASS

----------

Feedback welcome: Send Mail to kfr@suse.de (Please give the following subject: SDB-java4)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-java4, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 16:43:52 by maddin with sdb_gen 1.00.0