[2876] in java-interest
Re: compile on PC, serve on SunOS...help!
daemon@ATHENA.MIT.EDU (Jim Graham)
Thu Oct 19 00:00:37 1995
Date: Wed, 18 Oct 1995 19:37:52 -0700
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
To: java-interest@java.Eng.Sun.COM, chwright@goesser.mit.edu
Hi Chantal,
> I'm trying to use win95 to compile java and then move the class files
> to a SunOS web server. Not working. Example: I wrote HelloWorld and
> to get it to compile on the PC, included:
>
> import awt.Graphics;
> public class HelloWorld extends browser.Applet {
>
> Moved it to SunOS and with Netscape2 get the error window containing such as:
>
> I/O exception when loading: browser.Applet
> java.lang.UnknownError browser/Applet
>
> What am I doing wrong? I must be able to compile on the PC and serve/run
> the web on SunOS.
You are trying to run an Alpha applet in Netscape Navigator which only
supports Beta applets. The entire class tree was reorganized between
Alpha and Beta. If you want to use applets with Navigator 2.0, then you
will have to develop them with a Beta applet development environment,
which is currently only available on Solaris. The PC version of the
Beta development environment is not available yet (we're working on
it). See "http://java.sun.com/" for more details...
...jim
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com