Newbie way for standing and jumping on platforms

Hello,

Java beginner here, trying to make my first game. I searched around on the forum and found that the most common way for standing on platforms is using some kind of 2D tiles, I was wondering if there is an easier way because this is still a bit complex for me? Or if anyone knows some beginner friendly tutorials for this.

This is what I have currently: https://www.dropbox.com/s/5xky5t4o4s7mq6y/game.jar

My goal is to make more platforms where i’m able to jump onto, but the problem i’m having is that it’s gonna be impossible to write code for this the way i’m doing it. Currently I have this for the second platform

public void run() {
		x = 100;
		y = 100;
		while(true){
			
			
			if(x >= 630 && y >= 330 && y <= 400){
				
				y = 330;
			}
			
			if(y <= 460 && jump != true && x <= 630){
				y+= 10;
			}
			
			if(left == true){
				x -= 10;
			}
			
			if(right == true){
				x += 10;
			}
			
			if(down == true){
				y += 10;
			}
			
			if(y >= 460){ 
				y = 460;
			}
			changePositionPlayer(x, y); // 

as you can see this gonna be very exhausting to make for more platforms/levels?
Anyone has some tips or can point me in a good direction?