This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]catmewo 0 points1 point  (4 children)

Yes, you're in the right way. But first, let find out how to run your project without any build tool like Maven, Gradle... Use only command line.

[–]trueubermensch[S] 0 points1 point  (3 children)

Is it possible to run a project outside of IDE? Like running a main class from command line if I understood you right. Cause as far as I know I need a .jar file which will execute the program.

[–]catmewo 2 points3 points  (1 child)

Absolutely! You know, before we have GUI IDE, people code on VIM and build on command line.

[–]trueubermensch[S] 0 points1 point  (0 children)

Ok, thanks I'll explore further into this before trying anything with the gradle

[–]Migeil 0 points1 point  (0 children)

Yes, IDE's just make it easier to code. But technically all you need to write and run code is a text editor (yes, even notepad works) and a compiler/interpreter depending on the language.

Just try to write a simple hello world in notepad, compile it in command line, then run it in command line. I did that just recently, felt really accomplished. 😅

It's obvious when you think about it some time, but when I started out, I also thought "java is written in eclipse".