The compressed package cannot be uploaded and read

I want to upload a Java project. I compressed it into a zip, but ChatGPT can’t recognize the code included. How can ChatGPT read my project code?