LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] java compiler

[ILUG] java compiler

yep yep offlerthecrocgod at hotmail.com
Wed Oct 16 15:35:03 IST 2002


>I am just starting.

So this is the first time you have programmed??It sounds like it

>The Kawa IDE is the only thing I've worked with so far, so everything I've 
>read here is new to me. I was just asking >for a program simular to Kawa 
>because it's all that I'm familiar with. I've written HTML in a text editor 
>and ran it with a >browser, but I hadn't a clue how to do it with Java.

HTML is not programming really there's no compling Its a laungage which was 
desinged(or copyed and altered from SGML,I believe) for content Fomating or 
layout ( and very badly at that ),to display information in other words not 
to make programs or applications.Well what I was saying was that there large 
programs out there that you can use specifically for Java but they are not 
*strictly* necessary for a beginer are most of you're programs one file 
programs with the main running the program and thats it?.If so you can use a 
run of the mill text editor , I dont know which Distro you may be using but 
there should be a few editors avaible JEdit should do you , write up ure 
program save it in the same directory as you're javac binary file , as a 
java file( get the SDK from sun's site , Im presuming you dont know how to 
change enviroment variables , if you dont what that means ignore it).Then 
with bash or whatever you may use as youre command line compile the program 
 > javac ProgramExample.java it compiles the program and you run it by 
typing
>java ProgramExample   this can be simplified a lot by the way!

>The one thing that I found useful about the Kawa program is that if you 
>typed in a syntax error, it would point you in >the direction of your 
>error, which is handy for a beginner though our programs are small and as 
>simple as you can get. >Again, thanks for all the information!  -Eric

When you compile and the compiler finds errors the console ( bash command 
line window ) output will tell you the type of error you made and the line 
its on EXACTLY the same as what is printed out by kawa IDE.Im telling you 
try some programs without GUI's it will be an eyeopening experince if you 
dont know the inner workings of how java works because it shows you that a 
GUI is not neccesary for anything and as a matter of fact CLI(Command Line 
Interface)
can be more powerfull sometimes.Again do this if you're staring of and are 
doing small programs only easy stuff , you may know all this stuff that im 
talking about or you may not if you dont do ask one of you're lectures how 
Java works what happens with the code you write.Im in second year and I dont 
think half of my class understand how java works or about things like 
enviromental variables and alternative IDE's.Whenever thats brought up in 
lectures its stuffed into the "too hard" concentrate on how to press the 
pretty buttons kids!!.Its infuraiting , anyway I doubt that is of any use
to you but here's hoping  :p



_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell