Article View: comp.lang.java.advocacy
Article #164Re: NEED HELP COMPILING!
From: Aslak Poppe
Date: Tue, 31 Dec 1996 00:00
Date: Tue, 31 Dec 1996 00:00
45 lines
2810 bytes
2810 bytes
Rollo Lawson wrote: > > Iam just learning how to program JAVA. I just recently bought a book on > how to > program java and I was going along jsut fine. But the book goes into no > detail > on how to actually compile the source code. It come with a cd in the book > that > allegedily has a compiler in it. The CD has a folder that has different > JAVA .exe > programs in it. My question to yous experts is can I write the code with a > basic > text editor like NOtepad and how the hell do you actually compile it so it > can be > used in HTML programs. Please help a new programmer through this dilema it > would be greatly appreciated. Please E-mail me a response soon.THANKS > > Marc > rollo@enter.net I dont know what kind of programs you have in your folder, but if it is JDK the compiler i called javac.exe. You compile your applet/application by typing javac appletname in DOS. Make shure your applet have the extension .java You will also have to set the right pat for the compiler. You will find instructions for this at http://www.sun.com/java/ And yes you can write the code in notepad. Notepad is an ascii texteditor and is okey. You should not write the code in wordpad or an wordprosessor because these use formattingcodes that are not ascii, fex. the return is not a simple lineshift. If the prgram you have on your CD is not JDK (Java Developer Kit) you may download this at sunsplace for free. Anyway take a look there and check if you have the lates version. -- Aslak Poppe http://home.sol.no/poppe/
Technical Details
Message-ID:
<32C90186.4F80@online.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bbf50e$9fed58e0$2510aacc@rollo>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,e8247e3fc4a9b9d1 X-Google-Attributes: gid10a146,public X-Google-Thread: 111d6b,e8247e3fc4a9b9d1 X-Google-Attributes: gid111d6b,public X-Google-Thread: 10e2b9,e8247e3fc4a9b9d1 X-Google-Attributes: gid10e2b9,public X-Google-Thread: fdb77,e8247e3fc4a9b9d1 X-Google-Attributes: gidfdb77,public X-Google-Thread: 100dc5,e8247e3fc4a9b9d1 X-Google-Attributes: gid100dc5,public X-Google-Thread: 115d3b,e8247e3fc4a9b9d1 X-Google-Attributes: gid115d3b,public X-Google-Thread: 108717,e8247e3fc4a9b9d1 X-Google-Attributes: gid108717,public X-Google-Thread: 107d55,e8247e3fc4a9b9d1 X-Google-Attributes: gid107d55,public From: Aslak Poppe <panoptik@online.no> Subject: Re: NEED HELP COMPILING! Date: 1996/12/31 Message-ID: <32C90186.4F80@online.no> X-Deja-AN: 206928518 references: <01bbf50e$9fed58e0$2510aacc@rollo> content-type: text/plain; charset=us-ascii organization: PanOptikon mime-version: 1.0 reply-to: panoptik@online.no newsgroups: comp.lang.java.advocacy,comp.lang.java.misc,comp.lang.java.programmer,comp.lang.java.security,comp.lang.java.setup,comp.lang.java.tech,comp.programming,fj.net.programming x-mailer: Mozilla 3.0Gold (Win95; I)