[3856] in java-interest

home help back first fref pref prev next nref lref last post

JAVAC and Netscape beta 2 questions

daemon@ATHENA.MIT.EDU (Khin Zaw)
Wed Nov 29 23:48:30 1995

Date: Wed, 29 Nov 1995 18:31:57 -0800
From: khinzaw@ix.netcom.com (Khin Zaw)
To: java-interest@java.sun.com

Hi,
    I am new to Java, downloaded JDK for Win95/NT and Netscape 2.0 beta 
2. I have JDK installed on both Win95 and NT 3.5.1 server. I have 
couple of problems and hope that someone will be able to help me out.

    1. Attempts to compile HelloWorld was unsuccessful. Here's the 
error messages.

E:\javajdk\classes>javac -classpath e:\javajdk\java\classes             
helloworld.java

helloworld.java:1: Class browser.Applet not found in import.
  import browser.Applet;
  ^
helloworld.java:2: Class awt.Graphics not found in import.
  import awt.Graphics;
  ^
helloworld.java:3: Superclass browser.Applet of class HelloWorld not 
found.
  class HelloWorld extends Applet {
        ^
3 errors

    JDK is installed in E:\JavaJDK\Java directory. On NT machine, I 
have paths added to E:\JavaJDK\Java\bin, E:\JavaJDK\Java\bin\classes 
and E:\JavaJDK\java\src\java but still didn't get it to work.


2. From Netscape 2.0 beta 2, I opened a local file was able to go in to 
the demo directory and saw the directory listing of all the demo files 
but when I go into any of the demo subdirectories and run the HTML 
file, I got blank screen and the error message, "start: applet not 
initialized". 


I'd like some pointers on what I did wrong, and any help is 
appreciated.


Khin Zaw
Nordstrom Inc
Seattle, WA
khinzaw@ix.netcom.com
 
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post