I am using Aspose.Slide for Java for my university assignment.
Everything is prefect except aspose-slides-23.9-jdk16.jar keep running on the server.
The assignment needs me to upload the project (web application that can share slides online with only school personnel) to the school server (that I can’t do anything besides upload the war file and delete it), and if I want to update my project, I need to delete the previous version.
If I want to delete the previous version after I have had run the web application and used the function that use the jar file, the jar file cannot be deleted because of it is in use (told by my professor). So I am wondering is there anything that I can do.
FYI, I am developing with eclipse/Spring MVC/maven v4.0.0, and I import Aspose.Slide by maven using pom.xml
<repositories>
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://releases.aspose.com/java/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-slides</artifactId>
<version>23.9</version>
<classifier>jdk16</classifier>
</dependency>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-slides</artifactId>
<version>23.9</version>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
Also, I am using dispose method, but not Interruptable Library (because my method need to have parameter which getting information from the website