Re: JDK and JDK
-----BEGIN PGP SIGNED MESSAGE-----
On Mon, 21 Oct 1996, kazem wrote:
> Date: Mon, 21 Oct 1996 01:11:42 -0700
> From: kazem <kazem@isicom.fr>
> To: debian-user@lists.debian.org
> Subject: JDK and JDK
> Resent-Date: Mon, 21 Oct 1996 01:11:42 -0700
> Resent-From: debian-user@lists.debian.org
>
>
>
> Now i login my box like user toto
> cd Java/Class
> Here my code of Hello.java
>
> import java.applet.*;
> public class Hello
> {
> public static void main(String[] args)
> {
> System.out.println("Hello World!");
> }
> }
>
> javac Hello.java ==> Hello.class
> java Hello ==> Hello World!
>
>
> <HTML>
> <HEAD> <TITLE> Hello World Program </TITLE> </HEAD>
> <BODY>
> Here is out put
> <APPLET CODE="Hello.class" WIDTH=150 HEIGHT=25> </APPLET> </BODY>
> </HTML>
>
Your problem is not in the distribution... is with your coding...
T o run a java applet, you must start with an Applet class as explain in
the Java doc... What's you make is a Java application who can only be run
with the java vm (known as java).
- ---------------------------------------------------------------
"Mind can make Paradise with Hell, and Hell with Paradise."
-- J.Milton [not exactly cited]
- ---------------------------------------------------------------
Fabien Ninoles aka Baffouille || Running Debian-Linux
Ninf01@gel.usherb.ca || Lover of MOO, mountains,
http://www-edu.gel.usherb.ca/ninf01 || poetry and Freedom.
- ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBMpIDLFX6fc7jcjhFAQHoxAQAyhevhP+c+Pzd4Cvb0j58ORDUxkX8Okf3
rEI9xEUg/eK00+Rb6YVFrVKG+0lmilP28xiOFK4NnPJ/chUq4a5cvg7yePx0N1jj
DCcA56IJ895Q8GX2SB0N6rAw76okTZd1xzlh5EVlhERW2fjadQul+vsHdaygrF4k
Qowc9g+ZTMA=
=c0wY
-----END PGP SIGNATURE-----
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: