2

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

Bharathiraja
  • 714
  • 1
  • 12
  • 20
Rishit Shah
  • 355
  • 5
  • 20
  • Are you on Windows? If you cannot open the zip file in your explorer, I would guess that the ZIP file got corrupted during its download, for example by a proxy server or some other virus scanning system in the background. Could that be the case? – Martin Lippert Oct 22 '15 at 15:55

5 Answers5

3

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.

jumping_monkey
  • 5,941
  • 2
  • 43
  • 58
2

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.

Issue snapshot

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 .

Prasanth Rajendran
  • 4,570
  • 2
  • 42
  • 59
0

@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.

Muks
  • 141
  • 2
  • 11
0

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

enter image description here

Step 3: Now unzip the contents.zip file using WinZip but it throws below error

enter image description here

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.

Community
  • 1
  • 1
Bharathiraja
  • 714
  • 1
  • 12
  • 20
0
  1. Just unzip the .zip file and there you will find a contents.zip .
  2. Extract the contents.zip there you can find the you can find the springtoolsuit
  3. get all the files and paste it in your desired directory and create a shortcut
  4. click on the shortcut and you are good to go
Biswas Sampad
  • 413
  • 1
  • 6
  • 19