I want to export a java project to send it to a friend (AS JAR FILE). He should be able to open the jar file via writing .zip right after the .jar file extension and should see the .java and the .class files. I managed to export a jar-File as described here
BUT: if I try to get the .java files by writing .zip right after the .jar file extension, there are .class files in the jar-archive only.
My question: how to automatically create the jar file in intelliJ with .class AND .java files in it?