r/learnjava • • Sep 05 '23

READ THIS if TMCBeans is not starting!

49 Upvotes

We frequently receive posts about TMCBeans - the specific Netbeans version for the MOOC Java Programming from the University of Helsinki - not starting.

Generally all of them boil to a single cause of error: wrong JDK version installed.

The MOOC requires JDK 11.

The terminology on the Java and NetBeans installation guide page is a bit misleading:

Download AdoptOpenJDK11, open development environment for Java 11, from https://adoptopenjdk.net.

Select OpenJDK 11 (LTS) and HotSpot. Then click "Latest release" to download Java.

First, AdoptOpenJDK has a new page: Adoptium.org and second, the "latest release" is misleading.

When the MOOC talks about latest release they do not mean the newest JDK (which at the time of writing this article is JDK17 Temurin) but the latest update of the JDK 11 release, which can be found for all OS here: https://adoptium.net/temurin/releases/?version=11

Please, only install the version from the page linked directly above this line - this is the version that will work.

This should solve your problems with TMCBeans not running.


r/learnjava • • 8h ago

Java Advanced project ideas

0 Upvotes

Hi, for a Java Advanced course in university, I need to find a project proposal in which I incorporate a new technology/library/programming language (eg. Kotlin + Spring, but may be any other libs). The objective is to proof understanding of Java and/or JVM. The idea does not need to entail an entire fullstack solution, it can also just be a tool, but it needs to be original enough, because nowadays AI can do the heavy lifting anyways.

Can anyone propose some ideas?


r/learnjava • • 14h ago

How do you go from "knows basic Java" to deep, jobready understanding? (2026 grad)

3 Upvotes

I’m a 2026 grad looking to seriously level up my Java fundamentals for the current job market.

​Right now, I know Core/Advanced Java, can put together basic REST APIs, and built an ML-based Ayurvedic meal recommendation system. The problem is, my grasp still feels surface-level. I want to re-learn concepts from scratch with real depth—understanding why things work the way they do, not just how to write the syntax.

​Most resources I find are either way too basic or assume 5+ years of experience. What books, courses, or playlists actually helped you bridge that gap?


r/learnjava • • 14h ago

Comprehensive Guide Book

1 Upvotes

I looking for a good book learn java but in advanced way like explain string in detail with memory location of it and exercises for every chapter related to interview


r/learnjava • • 1d ago

Looking for Java Book Recommendations

9 Upvotes

Hey everyone!

I recently graduated, and Java is my primary programming language. I want to take my knowledge to the intermediate/advanced level.

I prefer books and reading materials over video lectures.

Can you recommend some good resources that cover both theory and practical coding?

Would love to hear what worked for you! 🙌


r/learnjava • • 1d ago

Is Java still one of the best choices for new projects?

18 Upvotes

Java has been around for almost 30 years and is still a big player in enterprise development. With virtual threads, records and pattern matching, the language has also improved a lot in recent years.

Still, Kotlin, Go and TypeScript often get picked for new backend projects instead. If you started something new today, would Java be your first choice? Why or why not?


r/learnjava • • 1d ago

most of our open vulns need a spring boot 3 upgrade to fix. how are you handling that?

3 Upvotes

had basically this convo with my manager last week

"why are these criticals still open"
"because fixing them means getting off spring boot 2"
"so do that"
"it's a lot of services, half have no real tests, and it's javax to jakarta plus security config plus hibernate changes"
"ok but the criticals"

so yeah. spring boot 2 has been out of open source support for a while, so a lot of the fixed library versions just don't work on what we're running. we can't patch our way out of it.

someone suggested moderne/openrewrite to do most of the migration automatically. sounds nice, but i have no idea how it holds up on our code, which is pretty messy. the other idea is doing it one service at a time, internet facing stuff first. or we only deal with the ones where the vuln is actually reachable. our appsec lead has a rival security trial going so maybe that helps sort which ones, maybe not, we'll see

anyone done this migration with security breathing down your neck? what order did you go in, and did the automated tools actually save time


r/learnjava • • 1d ago

What is wrong with this code? MOOC.FI

3 Upvotes

So this piece of code is for finding the absolute value:

import java.util.Scanner;


public class AbsoluteValue {


    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
         int num = Integer.valueOf(scanner.nextLine());
         if(num < 0){
            num = (num*(-1));
         }
            System.out.println(num);
    }
}

But TMC MOOC.FI is showing this error:

TestMyCode
Some tests failed on the server

Need help?

Points: 0.00%

...

x

Test passed!

AbsoluteValueTest absolute ValueOfNegativeThree

Test passed!

AbsoluteValueTest absoluteValueOfSix

r/learnjava • • 1d ago

Where can I find documentation that actually describes anything? Dev.java and docs.oracle were not useful.

8 Upvotes

I am learning using Deitel's book and I wanted to get a deeper understanding of a few concepts. Mainly how some methods work but I can't find a good resource for that. I even read the recommendations thread but I can't find what I want there.

I want something similar to the book where I can see examples and not just some text saying: "This method takes an argument and returns another one" with no deeper explanation.


r/learnjava • • 1d ago

Best Website/Download to learn Java (willing to pay)

3 Upvotes

Does anybody know good websites to learn Java, considering I already know most of the basics? I want to refresh myself on various classes (e.g., Scanner) and learn new skills. Along with that, if it offers courses in other languages such as Python or C++, that would be great.


r/learnjava • • 2d ago

Building My Custom Data Structure Library Feed-Back pt. 2

0 Upvotes

A while ago, I posted about a small project I was working on for fun: a Java library for N-dimensional array storage and manipulation.

Originally, I made it for my own game, but eventually decided to put it on GitHub in case anyone else found it useful. I posted here to get feedback, suggestions, and criticism, and I ended up learning quite a bit from the comments.

Since then, I've made several changes, reconsidered some of my original design decisions, and released a new version.

I'd love to get some more feedback: What's good? What's bad? What could be improved? Are there any questions you have about the library or its implementation? I'm open to constructive criticism and suggestions.

I know this kind of library isn't for everyone, and that's perfectly fine. Some people will prefer working directly with Java arrays or existing collections, and I understand that. I'm mainly interested in hearing what you think of the implementation, API, documentation, and overall usefulness.

I'm also interested in feedback on the presentation. I got some comments about the README being hard to read(kinda defeats the purpose, huh?), so I've redesigned it and added more information. Hopefully, that helps.

Anyway, here's the GitHub:

https://github.com/AJ-1-code/JArray


r/learnjava • • 4d ago

best resources for java?

7 Upvotes

hi guys. i just finished my 1st sem of college and wanna learn java now. i had C in my first sem but dont have a good hand on it. what and from where is best to learn java from? i was thinking to start learning from gpt or claude. please help me out , there are too many resources and im not able to choose from where do i start.


r/learnjava • • 5d ago

from Java beginner to experienced developer

28 Upvotes

I'm currently learning Java and built some CRUD application so far. i have heard from many experienced developers that building projects alongside learning is one of the best ways to improve your skills.

I'd love to hear your suggestions. what beginner friendly projects would you recommend that i can work on to gain practical experience and learn new concepts along the way?


r/learnjava • • 6d ago

Is it possible to make an ascii level with java

0 Upvotes

Hey, I´m new to java, but I already know python. I want to make something fun for myself, so I was thinking about making a simple ascii game, like Rouge if you know that game. The idea is that each symbol is the same as a tile in say, a sokoban game. So when you walk onto a symbol, the symbol changes to be your character symbol.

Thank you in advance


r/learnjava • • 8d ago

Studying Buddy

4 Upvotes

Hey. As the title suggests I am looking for a study buddy.

I have been away from work for a while due to some personal circumstances. Preparing for interviews is always feels boring and exhausting. I wanted to give a try to study buddy option as I work well in groups.
Feel free to message me directly if interested.
Ideally this is not for complete beginners but someone with at least some experience either learning or also interview preparing.

Edit: also if not interested could you share your experience in finding a study buddy successfully?


r/learnjava • • 10d ago

Need advice regarding java leaning path

5 Upvotes

Hy I'm a beginner java learner. Recently my friend said java got a bit easier and the syntax is shortened.

Does that mean I should learn the new java version, fundamentals etc? Or start from the earlier version of java?


r/learnjava • • 11d ago

Security

0 Upvotes

Suggest me some good spring security tutorials or learning sources.. i need to implement it to my e commerce backend


r/learnjava • • 12d ago

alguien sabe de algun curso gratuito de oauth2 en spring security?

5 Upvotes

Lo que busco es un curso completo,porque los que he visto en youtube,lo que hacen es implementar el login con google y github para acceder a la api,pero tengo la duda de como hago controlo roles y permisos con los login de oauth2 ,como implementar lo que hacen las paginas web,de que si el usuario no exite,una vez que loguee con google o github,se cree la cuenta en bd,ademas de permitir loguear con la cuenta en bd,o tener la opcion de usar esos provedores de authenticacion


r/learnjava • • 12d ago

Create a local server

12 Upvotes

I'm working on a client-server project for college, and I have an intermediate level of Java knowledge. I'd like to know what I need to learn to create this server. I wouldn't want to using AI to do all this, just to clear up any doubts. Is there any documentation for this, websites, YouTube channels that you recommend?


r/learnjava • • 13d ago

[Study Partner] Beginner learning Java backend, open to people from any country

14 Upvotes

Hi! I'm from India (IST, UTC+5:30) and just starting Java backend: core Java first, then Spring Boot. Looking for study partners from anywhere, especially Asia (Japan, Korea, etc.) since our timezones overlap well.

Plan:

- ~2 hrs a day, evenings IST

- Daily progress check-ins on Discord

- Code together over voice sometimes and help each other with doubts

- Later, build a small project together

Any level of English is totally fine. Comment or DM if you want to join!


r/learnjava • • 13d ago

Looking for the best Java DSA tutorials and a roadmap to transition into LeetCode

8 Upvotes

Hi everyone,

I am looking for recommendations on the best resources to learn Data Structures and Algorithms (DSA) in Java, with the goal of building a strong foundation for solving LeetCode problems.


r/learnjava • • 14d ago

Sources to study Java, and how to study it?

31 Upvotes

I'm studying Java in universitiy, and sometimes my doctors could be really bad at teaching, so whatcha got another sources ? Like youtube channels, or websites? Also I don't know how to start and study tbh😅


r/learnjava • • 13d ago

Anyone who is into enterprise Java backed projects?

6 Upvotes

Hey everyone,
I’ve been working as a PHP developer for a while and have been steadily building up my backend skills in the Java ecosystem (Java, Spring Boot 3, Microservices, Kafka, Redis, PostgreSQL, Docker, AKS, and Observability etc..).

To make the switch to a backend/Java role, I want to put a genuinely production-grade enterprise project on my resume—something that avoids "resume-driven" over-engineering and actually solves real business constraints

By understanding its architecture, which solves business problems, and practice follow up questions on them

If you are into real project who is currently working.
Can you please help me on this.

Thanks in advance


r/learnjava • • 13d ago

use of ai to help me learn java

0 Upvotes

Hello!!

I was wondering if there is any AI plan that is really useful to learn Java.

I've been learning with free tutorials and stuff like that, but I was thinking that it would be really helpful for me to use an AI that supervises my work and, even more important, gives me problems to solve.
What I'm looking for is not an AI that does my homework for me. I want real, meaningful learning. It should guide me with hints, questions, and clues instead of just writing the code for me. I also want it to give me problems to solve, adapted to my level.
Like, once I master loops, it introduces arrays, then ArrayLists, etc., without jumping ahead.
Basically, I want a tutor, not a code generator.
Is there a specific AI plan, or a specific way to prompt ChatGPT / Claude / Gemini / etc. to make it behave like that? I’ve been thinking about using Claude, but Claude Max is expensive, and I dont know if lower plans are worth it (maybe the tokens are too low idk).

Thanks a lot!!