Wednesday, July 21, 2010

Best Text Editor cum Complier for JAVA

Hey Guys, using that CLI(command line interface) for compliing java is very iritating if you are working all day on java programs.And it is time consuming too.What if you able to compile it with just one click using GUI(graphical user interface).There are certain IDE(INTEGRATED DEVELOPMENT ENVIRONMENT) including text editor(java specific) and  java compiler . The popular one are like NETBEANS , ECLIPSE , JCREATOR JAVA STUDIO etc . But among them eclipse is the best as this software have much more functionality than just compiling the java program on one click , like

=> Highlighting the syntax(similar to the turbo c++)

=>Correcting your basic mistakes(like closing of curly brackets)

=>Most useful one (specially for people who love RND) it opens a drop down window with each keyword describing it's other possible available functionality.Like in turbo c there are many features which one never got to know as they are not mentioned in our stupid theoritical books but ECLIPSE's this feature may be used by people to search out new functionality.It can be used other way as well like if you have forgotten the syntax of some functionality, so it is very easy to refer that thing from here(no need to stumble down in the books).
(NOTE : peope who have used visual basic would have understood this feature's importance very well.)
=>one doesn't need to go to command prompt,neither has to play with core system settings for setting environment variables.
=>you can view both the source code and output simultaneously in a single window (very very convinient for debugging purposes)
=>It is OPEN SOURCE
=>It goes very smoothly.

=>open source IDE which is used commercially as well . 
=>It was made in Java so it's cross-platform.
=>It has a lot of support for additional plug-ins to extend your developing needs.
=>What I love about Eclipse is that it compiles your code as you type. It highlights compiling errors and mistakes like how MS Word does for mis-spelled words.

you may download it here. And then after downloading you have to following steps=>

1.> UNZIP it , then open that folder(normal one which is made after unzippping).And then double click eclipse.exe . Install it .


2.>After opening the IDE. let us write first program (of all languages) to print HELLO WORLD.Click on FILE,then NEW , then JAVA PROJECT.



3.>Type in the name for your project.and press FINISH.


4.>See in right side panel called package explorer.Arpit name folder is created which contains all java project.CLICK on it. it has further directories,right lick on SRC click on NEW and then on  class.
then write down the name of that class in my case i have entered GRAPES. and then click finish. And you are done.Now just go one and start writing the program.EXAMPLE=>

public class grapes {
    public static void main(String args[]){
        System.out.println("hello world !");
    }
}

just copy it over there and press PLAY TYPE BUTTON(just below refractor), play as java aplication and then again press ok.then u'll see the output as HELLO WORLD in the bottom window section. tagged under console tab




Another Advantage =>it also tell the line no. af a program which is responsilbe for the failiure ofthat program.


screenshots for drop down window :



3 comments:

byodbuzz04 said...
This comment has been removed by the author.
byodbuzz04 said...

A Plain Text Editor
Plain Text files
That's right, if you're writer on a budget, you don't need to spend any money buying expensive writing software or apps. Instead, you can use the text editor that comes free with your operating system.
Just open up Notepad on Windows or TextEdit on a Mac. I like plain text editors for writing something short quickly and easily, without thinking much about it. I wrote a blog post about the benefits of using plain text editors as writing software.
Use for: writing whatever, wherever

byodbuzz04 said...

A Plain Text Editor
Plain Text files
That's right, if you're writer on a budget, you don't need to spend any money buying expensive writing software or apps. Instead, you can use the text editor that comes free with your operating system.
Just open up Notepad on Windows or TextEdit on a Mac. I like plain text editors for writing something short quickly and easily, without thinking much about it. I wrote a blog post about the benefits of using plain text editors as writing software.
Use for: writing whatever, wherever

Post a Comment