![]() |
Tutorial Writing=>Compiling=>Executing in Java without IDE - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE) +--- Thread: Tutorial Writing=>Compiling=>Executing in Java without IDE (/Thread-Tutorial-Writing-Compiling-Executing-in-Java-without-IDE) Pages:
1
2
|
Writing=>Compiling=>Executing in Java without IDE - Mr.Kurd - 07-17-2017 In The Name Of Allah
Al-Salam Alekum
I will show you how to write a java programs without using IDE. We will use CMD and Notepad. let's start.. First Writing: Open your Notepad and write your code: Code: import javax.swing.JOptionPane; Next Compiling: Open CMD and we will compile the file by using javac command: Code: javac Welcome.java Finally Executing: We will use again CMD by using "java + className" command: Code: java Welcome Thanks for reading. Wa Salam Alekum
RE: Writing=>Compiling=>Executing in Java without IDE - Inori - 07-17-2017 Solid tips. I'm not a fan of languages that make building and/or executing from CLI (in terminal; outside an IDE) a pain in the ass or virtually impossible (e.g. Java and C#), so I'm in favor of teaching others how to avoid dedicated environments for a single language. RE: Writing=>Compiling=>Executing in Java without IDE - Blink - 07-17-2017 (07-17-2017, 08:17 PM)Inori Wrote: Solid tips. I'm not a fan of languages that make building and/or executing from CLI (in terminal; outside an IDE) a pain in the ass or virtually impossible (e.g. Java and C#), so I'm in favor of teaching others how to avoid dedicated environments for a single language. Aside from web development and Arduino, I do all my development in ZSH with nano. Screw heavy IDEs RE: Writing=>Compiling=>Executing in Java without IDE - Mr.Kurd - 07-17-2017 (07-17-2017, 08:17 PM)Inori Wrote: Solid tips. I'm not a fan of languages that make building and/or executing from CLI (in terminal; outside an IDE) a pain in the ass or virtually impossible (e.g. Java and C#), so I'm in favor of teaching others how to avoid dedicated environments for a single language.it's hard to do this outside IDE. but if you learned this you can make a compiler tools yourself, or use it in rats. RE: Writing=>Compiling=>Executing in Java without IDE - Exiled - 07-17-2017 A very informative tutorial! Let's see more? RE: Writing=>Compiling=>Executing in Java without IDE - Mr.Kurd - 07-17-2017 (07-17-2017, 08:47 PM)Exiled Wrote: A very informative tutorial! Let's see more? Thanks you, I Will try making more. RE: Writing=>Compiling=>Executing in Java without IDE - Inori - 07-17-2017 (07-17-2017, 08:24 PM)Ender Wrote:(07-17-2017, 08:17 PM)Inori Wrote: Solid tips. I'm not a fan of languages that make building and/or executing from CLI (in terminal; outside an IDE) a pain in the ass or virtually impossible (e.g. Java and C#), so I'm in favor of teaching others how to avoid dedicated environments for a single language. Bonus points for Nano, it doesn't get enough recognition as far as terminal editors go. RE: Writing=>Compiling=>Executing in Java without IDE - titbang - 07-17-2017 Why would you not use an IDE for Java? It's object oriented and even has code completion built-in. Stick with bash if you want to go without an IDE. It really makes no sense. RE: Writing=>Compiling=>Executing in Java without IDE - Mr.Kurd - 07-18-2017 (07-17-2017, 11:01 PM)titbang Wrote: Why would you not use an IDE for Java? It's object oriented and even has code completion built-in. Stick with bash if you want to go without an IDE. It really makes no sense. This is for the purpose of learning. I use NetBeans. RE: Writing=>Compiling=>Executing in Java without IDE - Blink - 07-18-2017 (07-17-2017, 11:01 PM)titbang Wrote: Why would you not use an IDE for Java? It's object oriented and even has code completion built-in. Stick with bash if you want to go without an IDE. It really makes no sense. Object orientation has nothing to do with the IDE you use. Also, ZSH is better than BASH. |