Compiler did not create class

Hello, i'm new to java.

i installed jdk 1.3, then created Hello.java

after that i compiled it by doing javac c:\java\MyProgs\Hello.java

it opened Hello.java as text.

then i created html like

<applet code = Hello

height = 200

width = 200>

This Page requires a java-capable browser

</applet>

but i can't see any thing. also there is no Hello class in c:\java\myprogs\ folder.

it should create Hello classe, right?

thanks a lot

Mohammad Waheed

[543 byte] By [MWAHEEDa] at [2007-9-27 5:33:02]
# 1

> Hello, i'm new to java.

> i installed jdk 1.3, then created Hello.java

> after that i compiled it by doing javac

> c:\java\MyProgs\Hello.java

> it opened Hello.java as text.

>

What do you mean by that? When you compile a java file the .class file is generated and the file will not be opened as text. So what exactely hapenned in your case?

jquattroa at 2007-7-8 1:50:58 > top of Java-index,Developer Tools,Java Compiler...
# 2
never mind, it works now. i was compiling wrong.thanks
MWAHEEDa at 2007-7-8 1:50:58 > top of Java-index,Developer Tools,Java Compiler...