r/JavaProgramming • u/codelipenghui • Mar 19 '26
Let AI Coding Agents See Inside the JVM
r/JavaProgramming • u/codelipenghui • Mar 19 '26
r/JavaProgramming • u/scientecheasy • Mar 18 '26
r/JavaProgramming • u/A_little_anarchy • Mar 18 '26
r/JavaProgramming • u/Western_Direction759 • Mar 18 '26
r/JavaProgramming • u/FaheemRaina • Mar 18 '26
r/JavaProgramming • u/paszeKongo • Mar 18 '26
r/JavaProgramming • u/IndependentOutcome93 • Mar 17 '26
r/JavaProgramming • u/paszeKongo • Mar 17 '26
r/JavaProgramming • u/OTAEMMERICH • Mar 17 '26
UPDATE: was missing a bracket at the end
i’m using processing, my code is giving the "Syntax Error - Unexpected extra code near extraneous input '<EOF>' expecting..." error
im not too sure why (probably missing code)
i would also like to make it a three sprite animation using an array.
here is the code:
PImage img1;
PImage img2;
float odd = 0;
void setup() {
size (400,400);
img1 = loadImage("./frame1.png");
img2 = loadImage("./frame2.png");
}
void draw() {
odd = odd + 0.1;
background(255);
PImage img;
if (floor(odd) % 2 == 0) {
img=img1;
}
else {
img = img2;
}
image(img, 0, 0);
r/JavaProgramming • u/New-Election4972 • Mar 17 '26
r/JavaProgramming • u/Interesting_Path7540 • Mar 17 '26
r/JavaProgramming • u/javinpaul • Mar 17 '26
r/JavaProgramming • u/silicon-soul • Mar 16 '26
I know Basics java. but i wanted to learn Advanced java. please suggest me some good free resources to learn core as well as advanced java. please also tell me roadmap to learn.
r/JavaProgramming • u/nishre • Mar 15 '26
I want to buy this book I want to learn Java and bit concepts of OOPs then I want to continue DSA in java only so it's this book worth it and can anyone give a short review abt it pros and cons. (Ik C programming and bit Python)
r/JavaProgramming • u/Proud_Yesterday6627 • Mar 16 '26
I'm currently in 3rd year of uni and applying for internships. I do have some projects which I plan to deploy after buying a domain but they are working very slow while testing with lots of data and concurrent users. My stack is Java + Spring so i tried playing around with Hikari Pool connections and Cache a bit but I don't know how to optimally use it. Please give your inputs and suggest some resources and books if possible.
Also, i tested it via K6. I did upload files to AI but it is hallucinating. Even with cache and changing db connections is only giving a small improvement. I also learnt the 2 db queries in one method is bad design and bad performance so i optimized to 1 direct db call so that improved the performance a bit too. So any input on this?