Reputation: 375
I downloaded the latest version of spring tools suite
. It came in the form a zip
/ jar
file which shows an error when i try to unzip
it. It says there are insufficient files and it cannot unzip it and will be marked as corrupt.
I downloaded it 3 times and it shows the same error
. Please help
Upvotes: 3
Views: 10775
Reputation: 7779
java -jar spring-tool-suite-4-4.11.1.RELEASE-e4.20.0-win32.win32.x86_64.self-extracting.jar
works for me.
sts-4.11.1.RELEASE
folder will be "extracted" and the SpringToolSuite4.exe
is inside that folder.
Upvotes: 5
Reputation: 451
Upvotes: 1
Reputation: 5512
I have recently faced the following issue with the STS 4.9.0.RELEASE
version self-extracting jar. The self-extracting functionality is not working properly.
Solution
The simplest solution is extracting the jar
using a zip file extractor tool such as (WinRAR/ 7ZIP), inside the extracted folder you could see another archive named contents.zip
. Extract the contents.zip
again using WinRAR/ 7ZIP, finally, you can find the STS IDE inside the extracted folder(sts-4.9.0.RELEASE) of contents.zip
.
Upvotes: 3
Reputation: 812
Even i had the same issue when i extract spring tools 4
. Below are the steps i followed to fix the issue
Step 1:
Downloaded Spring Tools 4
bundled jar
from
Spring Tools 4 Download
Step 2: Right click downloaded jar
and extract using WinZip
Step 3: Now unzip the contents.zip file using WinZip
but it throws below error
Step 4: Here use 7Zip
to extract contents zip instead of WinZip
:
Now it got extracted without any issue.
Step 5: Here we go, open SpringToolSuite4.ini
and add below
openFile
-vm
C:/jdk/jdk1.8/bin/javaw
Step 6: Thats it, open SpringToolSuite4.exe
Please note, you may use 7Zip for the steps wherever i mentioned WinZip.
Click Up Vote if this is useful for you.
Upvotes: 0
Reputation: 151
@Rishit,
When you download the zip file, instead of saving it on the computer, if you can open it, that might solve the problem. It happened with me too.
Upvotes: 0