[5956] in java-interest
Re: Starting in W95
daemon@ATHENA.MIT.EDU (Youngjin Roh)
Wed Mar 6 07:32:43 1996
Date: Wed, 6 Mar 1996 05:53:58 -0500 (EST)
From: Youngjin Roh <yroh@gamera.syr.edu>
To: Adam Signaigo <PLAYBOY_A@msn.com>
Cc: Jave Interest Mailing List <java-interest@java.sun.com>
In-Reply-To: <UPMAIL07.199603040759160051@msn.com>
On Mon, 4 Mar 1996, Adam Signaigo wrote:
> I am just getting started on Java and need basic information about using
> Win95. I have been writing code in a text editor, then compiling in the DOS
> window.
>
> The Problem: the java interpreter cant find the class for the newly compiled
> code. The class is formed in the same directory as the .java file so I dont
> know why it wont find it to run
>
> Any ideas are greatly appreciated by this beginner. Thanks for the input.
>
> --Adam Signaigo
> -
If your program's main class is like "class.... extends Applet {...",
this is applet. so you have to make a test html file and run appletviewer
(in Win95, apltvwr.exe something.)
Make "test.html" like ;
<title>Test applets</title>
<hr>
<applet code="Mine.class" width=300 height=300>
</applet>
<hr>
and run "appletviewr test.html"
Good luck.
================================================================
This message was brought to you by Youngjin Roh
----------------------------------------------------------------
Youngjin Roh | yroh@gamera.syr.edu, yroh@rodan.syr.edu
(315) 492-9282 | yroh@hydra.syr.edu, yroh@forbin.syr.edu
211 Lafayette rd. | emacro@chollian.dacom.co.kr, yroh@onKIDS
#600, Syracuse, | yroh in other BBSs.
NY 13205, USA | LOOK FOR IT IN A NEIGHBORHOOD NEAR YOU!
----------------------------------------------------------------
Page me! --> 242-4634
----------------------------------------------------------------
I'm building my WWW. Try "http://web.syr.edu/~yroh"
----------------------------------------------------------------
Computer Engineering, Grad., Syracuse University
================================================================
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com