I'm looking to be more efficient when I have to create single-use Java 8 programs. IntelliJ IDEA and Eclipse are great IDEs, but I need to do this:
- Create a project in the IDE
- Do some configuration
- Create the program file
- Run it
- Remove the recently created project from the IDE
- Delete the recently created folder (with all the files created by the IDE) from the disk
A friend recommended me DrJava. I tried to install it but it needs Java 6, and I can't install it. I can have only Java 8 on my computer.
What would be your recommendation for an IDE with this characteristics?
- Lightweight (for example, DrJava has only 12 MB)
- Supports Java 8
- It should be able to manage simple Java files, without need to create a project
- Supports debugging
- Supports auto-complete
- Doesn't need to create a project to compile and run a simple Java file
- It could be a commercial IDE, but Open Source would be better
- Maven support would be awesome, but it's not critical
The style of work with this IDE would be:
- Write a new Java 8 program in that IDE
- Run it
- Delete program
I found how to do it using Sublime Text 3. It costs USD 70, but it works. To configure it you will need to follow this instructions. It lacks of debugging and autocompletion, but it works.
I tried to use Sublime Text's JDebug plugin, but I could not make it work. To be honest, I think the problem is mine as I'm not familiarized with jdb.
By the other hand, I looked some ST plugins for autocompletion, but no one were good. There's another plugin, Javatar, but if I'm going to work with projects, I will prefer to work with IntelliJ.
So far, I'm following an advice I found here: work with IntelliJ using a Java project with simple structure, and write all the single files into it. And you know, that IDE is great.
Anyway, I will leave this question open, just in case someone can recommend us a lightweight IDE.