🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17013

Re: Please Help a Newbie

#17013
From: Sergio Fernandez
Date: Sun, 27 Dec 1998 00:00
32 lines
1900 bytes
Ezra Celestin wrote in message <76479q$mu0@bgtnsc03.worldnet.att.net>...
>This will seem like a very stupid question, but... Anyway here it goes
>
>Exactly how do you compile a java script.
>I have a very thick book, its a JAVA Developers Guide.  but it dosen't help
>me.  It gives me lots of information and lots of scripts but I still don't
>know how to compile java script.
>
>Please help me.
>
>

I assume you mean a java program or file, Java Script's are codes embeded in
an HTML file they do not get compiled.
Well assuming your talking about Java not JavaScript.

Once you download and install the JDK from suns web site, you compile any
file simply by typing:
javac filename.java in a DOS prompt (if running under windows).
you have to make sure the filename.java file is typed excatly as it was
saved ( I mean case matters).
if the file is called MyApp.java and you type javac myapp.java you will get
an error, you have to ype it as javac MyApp.java.

also, make sure the file MyApp.java has a class called myApp in it, this is
also important, and its consider good programming style to have each class
in a seperate java file, so there is no reason why your java file should not
have the name of the class in the file.



Sergio Fernandez
Technical Details
Message-ID: <764rtn$2gd$1@ash.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <76479q$mu0@bgtnsc03.worldnet.att.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e9f7b405f7949e78
X-Google-Attributes: gidf74b3,public
From: "Sergio Fernandez" <pabsoftware@earthlink.net>
Subject: Re: Please Help a Newbie
Date: 1998/12/27
Message-ID: <764rtn$2gd$1@ash.prod.itd.earthlink.net>
X-Deja-AN: 426116365
References: <76479q$mu0@bgtnsc03.worldnet.att.net>
X-Posted-Path-Was: not-for-mail
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-ELN-Date: 27 Dec 1998 08:42:31 GMT
X-ELN-Insert-Date: Sun Dec 27 00:45:11 1998
Organization: EarthLink Network, Inc.
Newsgroups: borland.public.jbuilder.java.language