Gather all ingredients.
Preheat the oven to 350 degrees F (175 degrees C).
Drain the can of pineapple chunks, reserving ¼ cup of the pineapple juice to use in this recipe. Discard remaining juice or reserve for a different use.
Transfer drained pineapple chunks and reserved ¼ cup juice into a large bowl. Add drained, crushed pineapple, cheese, sugar, and flour; mix to combine.
Pour into a 1 ½-quart casserole dish.
Mix cracker crumbs and melted butter in a small bowl; sprinkle over pineapple mixture.
Bake in the preheated oven until golden brown, about 30 minutes.
