[3879] in java-interest
Re: JAVAC and Netscape beta 2 questions
daemon@ATHENA.MIT.EDU (Mike Pacholec)
Thu Nov 30 17:32:42 1995
Date: 30 Nov 95 10:08:18 -0800
From: "Mike Pacholec" <MPACHOLE@us.oracle.com>
To: java-interest@java.sun.com
Cc: khinzaw@ix.netcom.com
--Boundary-2039777-0-0
In answer to your first problem, you cannot use the Java alpha 3
browser to view JDK programs - they are not compatible.
I also ran into your second problem, and have been told via this
list that java applets will not run from the filesystem, they must
be run from an http server for security reasons. Good luck.
------------------------------------------------------------------------------
Mike Pacholec Internet: mpachole@us.oracle.com
Oracle Corporation Work: 415-506-6184
--Boundary-2039777-0-0
Content-Type: message/rfc822
Date: 29 Nov 95 18:31:57
From:"Khin Zaw" <owner-java-interest@java.sun.com>
To: java-interest@java.sun.com
Subject: JAVAC and Netscape beta 2 questions
X-Orcl-Application: Sender: owner-java-interest@java.sun.com
X-Orcl-Application: Precedence: bulk
X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@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
--Boundary-2039777-0-0--
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com