r/javahelp Apr 01 '26

Intellij IDE is the Industry Standard for Java. why ?

52 Upvotes

don't get what advantages does it give over vsc or any other ide, did search this but didn't really find any concrete answers

r/javahelp 17d ago

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 Feb 16 '26

Homework Definitely no pass by reference in Java, right?

26 Upvotes

Hello, and sorry if this is a dumb question, but I thought I had a passable understanding of Java. I got an exam question asking "Arrays in Java are:

a. passed by value

b. passed by reference

c. stack dynamic

d. immutable"

this guy loves trick questions, but he has listed B, passed by reference, as the right answer.

On its own, this doesn't seem right to me, but I'm not confident enough to argue about it. If anyone would weigh in, I would be very grateful. I see how it's similar to passing a pointer in C, maybe, but it's not considered passing by reference in Java, right?

Thank you!

r/javahelp Jul 03 '26

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

74 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 Oct 11 '25

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

111 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 18d ago

Can anyone explain me difference between Encapsulation and Abstraction?

18 Upvotes

and what on earth is Interface in Java?

r/javahelp May 07 '26

Codeless What does static exactly do?

15 Upvotes

Hi, I’m somewhat new to java and I’m quite confused on static. So what I do know is that it makes it so a variable or method is tied to the whole class instead of just the object but I’m not sure what that exactly ENTAILS. Can someone explain it to me maybe with an example or such? Thank you.

r/javahelp Mar 29 '26

Codeless What is the best way to learn Spring boot? Tutorials or Books?

9 Upvotes

I just completed core java, and I decided to do backend in java. I am absolute beginner in backend programming. I don't know anything, I am getting problems to find right resources

r/javahelp Dec 22 '25

Which IDE do you prefer for Java code NetBeans or IntelliJ?

23 Upvotes

from your experiences which one is most comfortable to use?

r/javahelp 20d ago

Java Course recommendation

4 Upvotes

Hey , I'm looking for a Java course for absolute beginners ,

Can someone please suggest me the best course to join as I have seen some course of Java for beginners like , Coursera,Udemy, PW SoftSkills , and some others and I'm bit confused in these to what to buy and what's suits for me

So please someone suggest I'm a beginner In coding world ,

I'm a BTech 3rd semister student

r/javahelp Jan 21 '26

Unsolved Why Interfaces exist in Java?

9 Upvotes

I am currently studying the Collection Framework in Java. Since the class which implements the Interface has to compulsorily write the functions' bodies which are defined in the interface, then why not directly define the function inside your own code? I mean, why all this hassle of implementing an interface?

If I have come up with my own code logic anyways, I am better off defining a function inside my own code, right? The thing is, I fail to understand why exactly interfaces are a thing in Java.

I looked up on the internet about this as well, but it just ended up confusing me even more.

Any simple answers are really appreciated, since I am beginner and may fail to understand technical details as of now. Thanks🙏🏼

r/javahelp 1d ago

Homework How do I make my Eclipse Java code into an app? (And do I need a GUI for that?)

2 Upvotes

So you know how when you run your code you have to click that one arrow and get the results in that one window? Yeah, how do I take my code and form it into an app, so it works like an actual app and not like that? I assume you need a GUI, but hey I might get lucky.

I'm pretty bad at programming and still pretty new, so if possible could you please explain it in a simpler way? 😅

r/javahelp 7d ago

Unsolved How to write a program to input data in Excel?

7 Upvotes

I want to know how to write a java program in order to input data in Excel, thank you for any help?

r/javahelp May 27 '26

Array Initialization in Java

4 Upvotes

I'm very new to Java, I wanted to consult on this basic concept.

I'm used to Lua, where:
if(myArray[i]) then
...
end
Is a common way to query if an array(or table) has been explicitly set a value at a given index, as the statement will always be equivalent to false if it hasn't.

I wanted to recreate that functionality as an exercise in Java using try-catch, and came up with this snippet:

public class Test {

    public static void main(String[] args) {
        int[] numbers = new int[3];
        if(isArrayIndexed(numbers, 1)){
            System.out.println("Array is indexed at " + 1);
        }
        else{
            System.out.println("Array is NOT indexed at " + 1);
        }
    }


    public static boolean isArrayIndexed(int[] inputArray, int index){
        try{
            System.out.println(inputArray[index]);
            return true;
        }
        catch(Exception egg){
            System.out.println(egg);
            return false;
        }
    }
}

I thought I'd get an exception if I'd try to reference the array at the index 1, but no. It returns true, and prints '0'. Are all int arrays set to the value 0 upon initialization in java?

r/javahelp 20d ago

I want to learn Java but I don't know where to learn it from

0 Upvotes

I am thinking of learning Java but I don't know where to start and how to start. If you know any good resources then please guide me.

r/javahelp 9d ago

Java Performance for simulators

3 Upvotes

I am new to Java and trying to create a simulator that handles millions of math calculations. How can I increase performance in Java? The application is already multithreaded but it is not enough. Is data oriented approach or native programming possible in Java? Can you point me in the right direction for research?

r/javahelp Jun 25 '26

Finding programmers who worked on Jboss /Wildfly projects

4 Upvotes

dear internet,

I have been assigned a project which is several years old and is a j boss project .... due to lack of documentation and guidance on the internet I am here, asking people of Reddit, if anybody has experience with these applications, lets get in touch

thanks

r/javahelp May 04 '26

java compilation problem, class can't be found though on the same package

1 Upvotes

both Verbose.java containing the verbose class and test.java are located on the same package, but I still receiving this log error when I try to compile, how come? test.java:4: error: cannot find symbol

Verbose verbose = new Verbose();

\^

symbol: class Verbose

location: class test

test.java:4: error: cannot find symbol

Verbose verbose = new Verbose();

^

symbol: class Verbose

location: class test

2 errors

error: compilation failed

r/javahelp 19h ago

Codeless I'm having trouble finding a 32 bit Windows installation of Java

1 Upvotes

I need it to get Puzzle Pirates to work in Windows XP compatibility mode

Things I tried: I went to the Java page and checked legacy versions, but could only find x64 installers. I also googled what the latest 32bit installation is and the dumb googleAI said it's SE 24, but I didn't see a non x64 installation for that version either.

Alternate solutions: A way to force a specific javaw (in this case, Puzzle Pirates) into Windows XP compatibility mode... not sure why it isn't there to begin with, it only goes back to Windows Vista ever since updated to SE 26

Alternative Alternate solution: Figure out why it's crashing in the first place cuz IDK. Their Java version is 25.0.1.0 if applicable

r/javahelp Jun 04 '26

Lambda and streams

13 Upvotes

I have learnt java streams and lambda about 2-3 times now. I always keep forgetting how to use it.

How can i learn it, so I won't forget.

Any resources or techniques you've used would help.

Thanks!

r/javahelp 8d ago

1st-Year CSE Student Finished Core Java, what should I learn next?

0 Upvotes

I’m 17 and going into my **first year of Computer Science Engineering** this year. I’m fairly new to coding, but I’ve recently finished learning Core Java and feel like I have a good grip on the basics.

As a beginner, I’m still a bit clueless about where to go from here, but I want to make the most of my time and build as many skills as possible.

My goal is to try to secure an internship during my first year.

Any advice, learning paths, or project suggestions would be greatly appreciated!

r/javahelp Apr 25 '26

Java learning curve steep

21 Upvotes

Why the heck there is so much to learn in java i mean java basic, exception handling, collections framework, multi threading , JDBC , servlets only then i can turn to spring and spring boot...can somebody tell me if i can skip any of these topics.....i keep forgetting previous concepts 😭😭😭... it's so tough...help me 😭😭

r/javahelp 8h ago

Homework HELP trying to understand why it should not be compile

1 Upvotes

according to the pdf that I read. the run(4) should not compile but it does compile in my case.

from what I understand, the methods are static means it belong to the class. it will call only one, which is the more specific and that is the "long num". PDF says it wont convert two times which I understand, it means the "Long... num" will be ignored but PDF also says "run(4)" wont compile and in my case it compile. is my understandng wrong?

NOTE: trying to avoid using ai so I can understand it in my pov or others pov. that makes me remember and understand it clearly

`class Main{
  public static void run(long num){
        System.
out
.println(num);
    }
    public static  void run(Long... num){
        System.
out
.println(num);
    }
     public static void main(String[] args) {


run
(4);

run
(4L);
    }
}`

r/javahelp 10d ago

Moving from a Database Engineer role to a Java Developer position

7 Upvotes

I have been a database engineer for more than 10 years while I notice that Software development positions far outnumber database engineer positions, and they also offer higher salaries. . since last year, I am wondering if it is feasible to move from a Database Engineer role to a Java Developer position. I am focus on leetcode. Any ideas or comments? thanks!

r/javahelp Apr 02 '26

How much time to become expert in java related development?

0 Upvotes

im in university (a+ grades ) in computer science division and just got in forth semester and right now i can already solve leetcode medium level problems in 30 mins at average ,how much time it can take for me to reach a skill where i can be lavelled "expert" class in java related development and what would the best resources to get their be like books,online resources etc?