0

I'm looking for a text editor that can compile and run .java files directly, without having to use javac filename.java and java filename. Something similar would be Textpad for Windows, which uses ctrl+1 to compile and ctrl+2 to run.

I've been using gedit for a while, but I find that Textpad is so much easier. What is a program for Linux (preferably free) that offers this feature?

I also don't want an IDE, just a simple text editor with keyboard shortcuts. I have tried Eclipse and Netbeans and found them too unwieldy for my tastes.

Junlin Yi
  • 109
  • 4

1 Answers1

0

Netbeans works well. You can install it easily by going to the website, or

sudo apt-get install netbeans

You can also use Eclipse by either downloading it from the site, or using the repos.

sudo apt-get install eclipse

They are both open source as well.

Goddard
  • 4,860