Vizible’s Blog

Compile & Run within Gedit

Posted in Tips by wearetherock on February 24, 2008

How to set gedit text editor to compile and run java source code?. Please following this tutorial.


1. First step we must active External Tools plugin.
>> click Edit -> Preferences -> select Plugin tabs -> select External Tools checkbox


2. Add javac and java command into editor menu.
>> click Tools -> External Tools -> click New -> type javac and java -> then fill follow text.



3. This step we will test, weather it work?
write java source code and save as (according to class name)
>> compile : click Tools -> javac (or Alt+1)
>> run : click Tools -> java (or Alt+2)
>> the result show at the bottom of screen (in Shell Output)


Ok, does it work?


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: