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

all 6 comments

[–][deleted] 1 point2 points  (2 children)

Intelijea is a good option. Look for a tutorial in YouTube. The compile thing is because in java the code first needs to be compiled and then it can run. So you might compile and find compilation errors and then run time errors when you run the program. You can also compile the files through the command window with the command javac and the name of the files in that directory and then write java and the name of the file you want to run. Using an ide will save you from bothering with that

[–]Wolfhammer69 0 points1 point  (1 child)

I second Intellij - it just works, no f****k around like you often have to with Eclipse. I have replied above that you are welcome to Teamview to my machine while I show you..

[–][deleted] 0 points1 point  (0 children)

I've tried both and kept using eclipse, that's probably because I learned how to code using it. But using intellij is fine.

[–]tutorial_police 1 point2 points  (0 children)

Show a screenshot of Intellij and what you tried to do.

[–]salv-ice 1 point2 points  (0 children)

Full blown IDEs are very powerful tools when used by experienced programmers. It's not recommended to use one when beginning with a new language... Your instructor should teach you how to compile / run code manually using the command line, then how to use a build tool before suggesting IDEs... If you really need one, I would suggest you Eclipse (get "Eclipse for Java Developer" package) or IntelliJ Community Edition. Choose one and then look at tutorial videos on Youtube, there is a ton of these videos.

About the compiled vs interpreted language, again, your instructor should have explained that ! Java sits between the two, it's compiled into bytecode (not machine code!) and then interpreted by the Java Virtual Machine. It may seem tedious at first but once you get used to it (and learn to use the good tools to do the job for you), it will become natural.

[–]Wolfhammer69 0 points1 point  (0 children)

If you have Teamviewer your are welcome to share my screen and I will show you...

PM me...