By typing jar -tf myJar.jar MyProject
I get in the file list, besides the normal .java
and .class
files, also a .java~
file.
I have read googling it around that it is due to some other incomplete version of the file.java
. If so, How can I go ahead and remove those files? since in the real folder there are no other files than file.java and file.class.
Thanks in advance.
Copyright Notice:Content Author:「Rollerball」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/15113936/java-meaning-of-java