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.

snapshot10.png

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

snapshot11.png

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

snapshot12.png

snapshot13.png

3. This step we will test, weather it work?
>>
write java source code and save as anyting.java (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)

snapshot14.png

Ok, does it work?

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: