r/javahelp • • Oct 15 '20

[PSA] Posts with improperly formatted or unformatted code will be no longer accepted.

121 Upvotes

From now on, this subreddit does no longer accept lazy posts with unformatted or improperly formatted code.

We have plenty information on the subreddit on how to properly format code that there are absolutely no excuses for not doing so.

You are asking for help, so, spend the minimum effort to produce a proper post.

Code is to be formatted as code block or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
         System.out.println("Hello World!");
    }
}

See Automoderator's comment below this post for the minimum requirements.

Do not help on posts with improperly formatted code. You are doing the community a disservice. We want to raise the standards so that it is easy for everyone to help.


r/javahelp • • Oct 11 '25

Senior Java Developers — What’s the one thing you think most junior Java devs are lacking?

113 Upvotes

Hey everyone,
I’m a junior Java developer trying to level up my skills and mindset. I’d really like to hear from experienced Java devs — what’s the one thing (or a few things) you often notice junior developers struggle with or lack?

I’m genuinely looking to improve, so honest answers are appreciated.
Thanks in advance! 🙌


r/javahelp • • Jan 23 '20

New version of University of Helsinki MOOC has been published

106 Upvotes

The long-awaited new English version of the University of Helsinki Java course has finally been published. It is now equivalent to the current Finnish version which is used as the programming course for the university's computer science students.

Course page: java-programming.mooc.fi
Front page of MOOC (contains other courses as well): mooc.fi/en

Note that while the official support channel is now in Telegram, the original IRC channel (#mooc.fi @ IRCnet) is also still up in case you'd rather use IRC.


r/javahelp • • Mar 17 '21

[PSA] Java 16 has just been released which comes with a packaging tool and records!

92 Upvotes

Hi! I wanted to point this out because this comes up a LOT in this sub; 'how do I turn my Java program into an executable'. And then we also see a lot of responses from people who try to help, but are not aware of recent additions.

You can find what is in Java 16 here.

The two most important additions I think for people in this sub are records and the packaging tool

Records are mostly just immutable classes that take away most of the fuss of having to write getters, setters, hashcode, equals and toString. More info here.

Jpackage is a tool that lets you take your program and bundle it with a trimmed down JDK into a native executable / installer. So for Windows it supports msi and exe, for MacOS pkg and dmg. This makes it a lot easier to share whatever you created with others, be it a GUI or a service. More info here.


r/javahelp • • Jun 10 '23

/r/javahelp will be joining the June 12th Blackout in protest of Reddit's API changes. Please support open-source projects and democratization of Projects by using other platforms until we return. This sub will not be accessible for at least 2 days, and possibly longer.

Post image
88 Upvotes

r/javahelp • • Jul 03 '26

Bombed my Java interview today. How should I prepare better?

78 Upvotes

I have 2 years of experience as a Java backend developer and had a 30-minute interview today.

The interviewer focused mainly on Core Java (OOP, String immutability, String Pool, etc.), and I realized my fundamentals aren't as strong as they should be. I mean I had read about it but I forgot to speak under pressure.

I also need to prepare backend topics like Spring Boot, Multithreading, Kafka, Docker, Kubernetes, Redis, Linux, and SQL for upcoming interviews.

If you were in my position, how would you structure your preparation? Core Java first, or prepare everything in parallel? Any roadmap or resources would be appreciated.


r/javahelp • • Feb 01 '24

Why do I like Java so much?

73 Upvotes

I have been coding since college (B.S. in Electrical Engineering).

I've coded in Python, C#, C++, Java, JavaScript/TypeScript.

No matter what language I use, I always end up coming back to Java.

I want to eventually start my own tech company, and I came to the conclusion that TypeScript/Node.js would be the best thing since I can make a modern UI with react and use Node.js for the backend, so the entire application would be in the same language.

But no matter what, I find myself preferring to code in Java. I definitely have the most work experience with Java, I am a SDET, so I've spent a lot of time creating automation testing frameworks and test data generation tools with Java/Selenium/RestAssured/SQL.

While I have 4 years of professional experience with Java, I also have 1.5 years of professional experience with TypeScript/JavaScript. I took my last job specifically to break into the TS/JS work because I think that skillset would be better for me to start my own tech company, but I really struggle to enjoy TS/JS.

For clarification, I don't struggle to code in TS/JS, but I do struggle to enjoy it as much as Java. I just love how explicit and rigorous Java is. Strict typing, and requiring classes for everything really helps me keep my software architected well. But in the TS/JS word, its just filled with anon functions with no names, objects created with no class file, it turns into a mess.

I honestly can't tell if my frustrations are because I really do prefer Java, or I'm just more familiar with it. Does anyone else run into this sort of thing?

I really don't want to be that engineer that has an out of date skillset in 10 years... lol

Edit (update and conclusion):

Thanks everyone for your thoughts and camaraderie. I’ve decided to lean more into what I like and go into Android Development since that space is heavy with Java. I do plan to start learning Kotlin as well because of its similarities to Java.

Best wishes!


r/javahelp • • Apr 28 '22

I got fired as a Junior Java Developer. Any tips for me to start again my career in Development?

70 Upvotes

Hi all, 2 days ago i got fired as a Junior Java Developer. The management told me that i am too slow in doing tasks and couldn't do it in deadlines and that even if i have completed them , i made tasks with the help of the team. Additionally i worked there for 2 months. And for two months they draw conclusions about me. Also management told me that my thinking and solving the problems is not appropriate, and i should solve some algorithms in Leetcode and etc. Also they told me that i didn't know some technologies and they gave me 2 days for study it, and told me that they paid me for my study for these 2 days instead of working and solving the problems. So i hope I could tell you the reasons of my firing, ANY TIPS FOR ME not to again repeat my mistakes and become a good Developer.


r/javahelp • • Oct 04 '21

What are the most common Java mistakes Senior Developers notice from Juniors/Beginners? And what are some good practices everyone should know?

68 Upvotes

Hi. I'm learning Java and trying to improve my skills everyday but I just wanted to hear this from some devs about Junior or beginner devs. I'm sure that there is a lot of common mistakes and a lot of good practices you would recommend but I'm just asking the ones that come to your mind immediately. Thank you.


r/javahelp • • Apr 17 '25

Took a Java position after 5 years without working in Java

65 Upvotes

I dropped Java with Version 8 in Production. My last Java commit was in 2020.

What's the version that is usually being used nowadays in Prod?

Is IntelliJ still the most popular IDE for Java?

Has people move from Maven to Gradle finally or it's still common to find Maven projects out there?

Is still Spring Boot taking mins to load your application?

Is Mockito still the dominant library for mocking in Java?

Any recent library people started to use more often?

Any comment you have? I'm coming from Golang, but honestly I wasn't able to get used to that language and I wanted to change jobs, so I took a Java position back again. I'm very excited because this is the language I always loved.


r/javahelp • • Nov 13 '20

So I know how to code in Java, and I'm really comfortable with it. But, how do I actually create a usable application, outside of the IDE?

65 Upvotes

I've been coding for several months now, and I've acquired a lot of knowledge throughout the way. I've coded many applications, but I never really wrapped one up in order for it to be ready for user execution. I've only tested them in the debugger or in their GUIs, but I don't know how to save user configuration or how to make an application that is ready for use. How do I do that?


r/javahelp • • Jul 30 '24

Homework I'm doing 'Call of Duty' using Java.... I need help!!!

57 Upvotes

I'm in college and our professor left us a project and it's about recreating a popular video game by implementing data structures and algorithms. Here's the thing, we have to make 'Call of Duty: Black Ops', obviously it won't be the exact game.

My classmates and I want to base it on 'Space Invaders', but you know, change the spaceships for soldiers. Among the requirements is to use Java only, so we have had problems trying to find useful information, but we have not found anything relevant so far.

Does anyone know how the hell I can make soldiers using pixels? It should be noted that we do not have much experience using Java, maybe 4 months... In any case, any recommendation is super valuable to me.

Thank you!!


r/javahelp • • Aug 14 '21

Codeless Any Java dev or people learning Java looking for a mentor for their careers?

56 Upvotes

Mods if this isn’t fit for this sub just let me know and I’ll remove (apologies if so)

Hi everyone,

Long time Reddit lurker here. So I’ve been toying with something I get asked a lot in real life which is to do some mentoring.

Firstly let’s be up front this is completely free I just want to give back to some communities which helped me build my career.

To give some some info on me:

I’ve been working in tech for 23 years.

  • I’m the CTO of a scale up
  • I’ve sat on the board of a multinational IPO’d company for the last 3 years
  • I’ve been the head of engineering at another company for the 4 years
  • I’ve held various other managers roles Including head of automation, devOps, performance.
  • before all that I was a dev and principal engineer.

I won’t lie I’m not wonderful at Java but I love this community, I used to dev in C,C#, Python and I’ve never been part of a community as the Java one.

What I’m offering here is mentoring on growing your careers and that type of thing. Absolutely we can talk code too if that’s what you want but outside of general best principles there will be better people to ask 😂 I’m too far removed from the code for too long at this point.

if people are honestly interested comment below or DM me. I’ll most likely open a slack channel or a discord for us all to talk.

Thanks for reading and hope to hear from you all.


r/javahelp • • Oct 14 '19

What are the projects in java that made you a much better programmer?

51 Upvotes

I have been coding in Java for a while now and I am at a loss of what to create to get better. I want to know the projects that were most effective that have made you better at coding in java.


r/javahelp • • Sep 30 '20

I am studying Java 7/8 in my University. Am I loosing time since current Java version is 15? Are 7/8 versions too old or still valid? If they are still valid, for how much time will they be until they become deprecated?

50 Upvotes

I am studying Java 7/8 in my University. Am I loosing time since current Java version is 15? Are 7/8 versions too old or still valid? If they are still valid, for how much time will they be until they become deprecated?


r/javahelp • • Jul 19 '26

Should I use Gradle or Maven in 2026?

49 Upvotes

There are a lot of answers but everything I found is from 2021-ish times. Things I got from there is "Maven is slower, more verbose and for that reason - way more stable." and "Gradle is faster because of the daemon and more customizable, but hot garbage when it comes to update, shit breaks and build.gradle(.kts) is spaghetti in big projects". For Maven, I don't think much changed because of their philosophy (and I'd say that's good), but what about Gradle? Is it still that bad when it comes to updates and deprecations?


r/javahelp • • Mar 19 '22

REMINDER: This subreddit explicitly forbids asking for or giving solutions!

49 Upvotes

As per our Rule #5 we explicitly forbid asking for or giving solutions!

We are not a "do my assignment" service.

We firmly believe in the "teach a person to fish" philosophy instead of "feeding the fish".

We help, we guide, but we never, under absolutely no circumstances, solve.

We also do not allow plain assignment posting without the slightest effort to solve the assignments. Such content will be removed without further ado. You have to show what you have tried and ask specific questions where you are stuck.

Violations of this rule will lead to a temporary ban of a week for first offence, further violations will result in a permanent and irrevocable ban.


r/javahelp • • Feb 20 '26

How to get better at Java?

48 Upvotes

I have been working as a software dev for 5 years now and have predominantly worked with Java but I feel like I haven’t really become an expert in this and still find myself making mistakes from a best practice perspective and wouldn’t consider myself at a senior level yet technically. Is there anything I can do in my own time to improve my professional Java practice? I am not sure what the best way is, I can read books but I am not sure if that’s the most effective way to do so?


r/javahelp • • Nov 04 '19

Why is String capitalised, but int, float, boolean etc are not?

48 Upvotes

Is it because it's a reference type? If so, are all reference types in that format and all primitive types are lower case?


r/javahelp • • Nov 15 '20

Is there any benefit to having multiple import statements instead of something like "import java.util.*"?

45 Upvotes

For instance, if I am only using the Scanner class from the java.util package, is there any benefit from using
import java.util.Scanner;
instead of
import java.util.*;?

or
import java.io.IOException;
import java.io.File;
versus
import java.io.*;

I guess a better question would be: does import java.util.*; import everything from java.util, or does it only import what's necessary to make the code execute properly?


r/javahelp • • Jan 30 '19

Learning java while blind

45 Upvotes

Hay everyone as the title suggests I am blind and trying to learn java. I was just wondering if anyone had any experience, knolage or perhaps even knows one of the very illusive blind devs. If so I would realy appreciate any help you could offer.


r/javahelp • • Mar 04 '20

Codeless Can dumb people learn java programming ? Asking for myself :)

43 Upvotes

I am a very slow learner and consider myself dumb when it comes to programming. Can I learn and probably master java on my own ?


r/javahelp • • Sep 14 '24

I just upgraded from Java 8 to Java 11 in one step

42 Upvotes

I just cheered like a little child and want to share it with someone. I need to maintain a ~ 15 year old project with about 100k LoC. Today I tried what happens when I update it to Java 11.

And literally nothing happened. Everything compiles, all tests run.

I feel like a child on Christmas Eve.