WHITE LED LIGHT PROJECT

I JUST JOIN THE COMMUNITY RECENTLY.I AM FROM SOUTH AFRICA.I HAVE A PROJECT FOR LED LIGHTS,IT CONSISTS OF 24 WHITE LEDs IN PARALLEL AND I TESTED IT WITH 4 AA(1.5) BATTERIES(6V) AND IT WORKED FINE,BUT I TREID TO DESIGN A 6V REGULATOR SO AS TO USE IT WITH SOLAR ENERGY USING 7Ah BATTERY.I USED LM317 AND OTHERS BUT IT KEEPS HEATING UP EVEN WITH AN EDEQAUTE HEATSINK AND SOME WHERE FRIED,ANY SUGGETIONS,CIURCUTS IN SOLVING MY DALEMMA