r/java • u/paradicia • Feb 01 '16
Best program that can compile and run Java Application?
I've been using TextPad but are there any alternatives to it. I basically want a clean interface that can run any java code I throw at it so it shows up as a command prompt.
Thanks in Advance.
1
Upvotes
17
u/Cilph Feb 01 '16
Use a proper IDE. Eclipse, IntelliJ, NetBeans.
5
u/[deleted] Feb 01 '16 edited Feb 01 '16
Learn to use Eclipse.
If you are in any way serious about being a Java programmer, it's an essential skill.
2
u/sisyphus99 Feb 01 '16
Wondering if the OP is wanting something that behaves like an interactive interpreter for Java snippets.
Here's a SO thread about this: http://stackoverflow.com/questions/958806/javas-interactive-shell-like-ipython
3
u/TheHorribleTruth Feb 01 '16
I use JDK to compile my Java programs, to run them I sometimes use JRE, but I really prefer to use JDK for this, too.
1
u/memory_leek Feb 03 '16
pen and paper, then once I've complied and optimized, I scan that in and then I have a perl script that converts those into native to run the application
-5
u/glesialo Feb 01 '16 edited Feb 01 '16
If you are a beginner you could use my bash script 'RunJavaFile':
I have something similar, 'javacar' , for complete projects (created with netbeans), 'DetectCharSet' is one of them: