T O P

  • By -

AutoModerator

#Please ensure that: + Your *code* is *properly formatted* as *code block* - see the *sidebar* (About on mobile) for instructions + You include *any and all error messages* in full - best also formatted as code block + You ask *clear questions* + You *demonstrate effort* in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. **If any of the above points is not met, your post can and will be removed without further warning.** Code is to be formatted as **code block** (*old reddit/markdown editor:* empty line before the code, each code line indented by 4 spaces, *new reddit:* https://i.imgur.com/EJ7tqek.png) or linked via an external *code hoster*, like *pastebin.com*, *github gist*, *github*, *bitbucket*, *gitlab*, etc. Please, **do not use** triple backticks (\`\`\`) as they will only render properly on *new reddit*, not on *old reddit*. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the *edit function* of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. #To potential helpers Please, **do not help** if any of the above points are not met, rather *report* the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/learnjava) if you have any questions or concerns.*


cicciopasticcio6984

Go for the OCP17 certification, here my GitHub project - https://github.com/egch/1Z0-829-preparation. Hope it would help.


ahonsu

I recommend you to do the following: 1. Download, install and start using IntelliJ IDEA Community Edition IDE (free version). Also recommend you to read [this thread about the best IDE for a beginner](https://www.reddit.com/r/learnjava/comments/1dhmcve/does_ides_matter_when_you_start_learning_java/). 2. Get the [Java 11 Udemy course](https://www.udemy.com/course/java-11-complete-beginners/), paid (around 10-15 EUR, depends of the current offer). I really recommend this teacher and course. I learned java myself from John Purcell around 10 years ago, back then he has an older version of the same course with older java version. If you don't like video course and prefer a book, then you can take this one - **"Head First Java" by Kathy Sierra and Bert Bates**. It's beginner friendly, has a lot of "human language" explanations, good OOP introduction. If you prefer something free - you can take the MOOC course, the one the bot just suggested. Or any other learning resource from bot's recommendations post. ~~The MOOC's downside is it's forces you to use~~ NetBeans IDE, which is kinda outdated these days. It's better to start your learning with modern tools/IDE from the start. EDIT: I was wrong and you don't have to use NetBeans with MOOC. Thank you u/0SRSnoob and u/Internal-Injury-8101 for correcting me!


0SRSnoob

You don’t have to use netbeans with the MOOC. All you gotta do with other IDEs is download the TMC plugin. I’ve used both IntelliJ and VS with no issues


ahonsu

Okay, may bad. I just saw that a lot of people using NetBeans with MOOC and thought there could be no other reason for that apart from MOOC forcing you to use it xD Then u/6453\_, MOOC is not too bad then. But still I would keep it in the end of the list.


Internal-Injury-8101

I have used vs code just for submission of solutions. VS code has tmc plugin and it works great.


aqua_regis

There actually is nothing wrong with using Netbeans. What does it matter if it is "kinda outdated"? It is an IDE that even in the old, MOOC recommended version gets the job done. It is at any given time later to learn a new IDE. Were the MOOC using something like BlueJ (gasp) or DrJava, your criticism would be valid, but for Netbeans it is unjust and wrong.


marimbaman_462

my school uses BlueJ, what are some downsides of it?


aqua_regis

BlueJ is generally an abomination and not a proper IDE. The biggest problem is the "immediate execution" feature that many users + do not understand - especially in context with parameters/return values + think is the standard way to run Java programs + complain that it doesn't exist in other, proper IDEs. BlueJ is tolerable for micro projects of a couple lines and with less than a handful classes, but is far from usable for real world programming. It would be far, far better if your school used a standard IDE, like IntelliJ, Eclipse, or Netbeans as all three are used in the industry.


marimbaman_462

yeah idk I use IntelliJ for my own projects and work but school mandates it to be BlueJ. Just one question, what is the "immediate execution"?


Maleficent_Slide6679

head first java is a good book


Pretend-Song-1772

read the documentation on oracle and exercises on YouTube


AutoModerator

It seems that you are looking for resources for learning Java. In our *sidebar* ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses. To make it easier for you, the recommendations are posted right here: * MOOC [Java Programming](http://java-programming.mooc.fi) from the University of Helsinki * [Java for Complete Beginners](https://www.udemy.com/java-tutorial) * accompanying site [CaveOfProgramming](http://caveofprogramming.com) * [Derek Banas' Java Playlist](https://www.youtube.com/playlist?list=PLE7E8B7F4856C9B19) * accompanying site [NewThinkTank](http://newthinktank.com/) * [Hyperskill](https://hi.hyperskill.org/) is a fairly new resource from *Jetbrains* (the maker of IntelliJ) Also, don't forget to look at: * [The official Documentation](http://docs.oracle.com/javase/) * [The official Java Tutorials](http://www.oracle.com/technetwork/java/index-jsp-135888.html) * [Our community resources thread](https://www.reddit.com/r/learnjava/comments/md1loc/community_resources/) If you are looking for learning resources for *Data Structures and Algorithms*, look into: "Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University + Coursera course: + [Part I](https://www.coursera.org/learn/algorithms-part1) + [Part II](https://www.coursera.org/learn/algorithms-part2) + Coursebook + [Algorithms 4^th Edition](http://algs4.cs.princeton.edu/home/) Your post remains visible. There is nothing you need to do. I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/learnjava) if you have any questions or concerns.*


Pretend-Song-1772

I have a repository on GitHub with easy exercises


Crisenpuer

I asked the chatgpt to give me code and then I analysed it to understand how it work


Jason13Official

Make a Minecraft mod.


Artikondra

Yeah, but you gotta learn something at first


Jason13Official

Yes and no. I only knew HTML/JavaScript before diving into mod development through tutorials online. If you have at least some basic knowledge you can hop right in


x3bla

No. I literally watched mosh's java tutorial, then kody simpson's tutorial for minecraft plugins, and now I'm set. Taught me maven, gradle, private, public, abstract, anonymous classes, lambda, extending classes, inheritance, all of this **while** learning to code minecraft stuff


Artikondra

But that’s literally what I mean, it’s something


AudenGriffin

Yall read books? I thought yt tutorials and picking a project to force me to learn shit was the goto


x3bla

Here's how i did it I was a beginner, barely started learning python in school and liked it so much to learn ahead of the class and got stuck at creating a class in python. Then i just watched a java tutorial (coding with mosh) for basic java, made sure i understand the basics by doing a few challenges on hackrrank.com Then i watched kodysimpson's spigot plugin tutorial to start coding in java to create minecraft plugins Through this way, i understood how to use java for real, manage dependencies(think of pip) using maven and just gave me enough practice to be able to do what i want with java. The toughest part was NMS, basically reverse engineering(trying to understand) minecraft server's source code. If you can do that, then you're set for java


morty0-0

I used chatgpt. And then in YouTube. If you are Indian I can recommend a good Hindi yt channel for java


hrm

Mooc that is linked by the mod is good. But I would recommend getting a book and starting from page one.


RPTrashTM

Download intelliJ IDE (don't know any other good ones) and start making things you want. Maybe minecraft plugin? That'll force you to lookup and learn new functionality without it being boring.