Spring Tool Suite 4安装 – 辅助

huangapple go评论95阅读模式
英文:

Spring Tool Suite 4 Install - Assist

问题

Looking for assistance with Spring Tool Suite(STS)4 install. When I try to extract the downloaded jar file, I get a pop up window with the message, "How do you want to extract it?". It also gives me the option to 'keep using the app or try more apps' - see attached screenshot for ref. I'm not sure why it's doing that and I thought it should just extract the jar file. I'm on Win 10, Java version is 'java version "19.0.1" 2022-10-18' and I have jdk-19. Finally, I don't know where it's finding the 'jdk-17' in the window in the screenshot. I checked the directory and program files which turned up nothing.

Anyone know how to properly install STS4 on Win 10? Appreciate the help.

英文:

Looking for assistance with Spring Tool Suite(STS)4 install. When I try to extract the downloaded jar file, I get a pop up window with the message, "How do you want to extract it?". It also gives me the option to 'keep using the app or try more apps' - see attached screenshot for ref. I'm not sure why it's doing that and I thought it should just extract the jar file. I'm on Win 10, Java version is 'java version "19.0.1" 2022-10-18' and I have jdk-19. Finally, I don't know where it's finding the 'jdk-17' in the window in the screenshot. I checked the directory and program files which turned up nothing.

Anyone know how to properly install STS4 on Win 10? Appreciate the help.

Spring Tool Suite 4安装 – 辅助

I tried reinstalling the jdk and downloading the STS4 again, but to no avail. I also tried running this command, but it didn't work: $ java -jar spring-tool-suite-4-4.17.1.RELEASE-e4.26.0-win32.win32.x86_64.self-extracting.jar
Error: Unable to access jarfile spring-tool-suite-4-4.17.1.RELEASE-e4.26.0-win32.win32.x86_64.self-extracting.jar

答案1

得分: 1

The "self-extracting" jar contains a main method, so you should be able to just run that JAR file with the "java -jar " command from the command line or double click on it. When it runs, it will extract the STS installation on its own, so there is no need or reason to extract the JAR file manually.

If executing the JAR file via "java -jar ..." doesn't work (you mentioned an error message), then it looks to me like a problem with either the downloaded JAR file or some permissions issue.

There is also another way to get the distribution on your machine if the self-extracting JAR file doesn't work. You can go to https://github.com/spring-projects/sts4/wiki/Previous-Versions and download the ZIP file instead of the self-extracting JAR file. But you need to make sure that you extract the ZIP file using a tool like 7zip or so that is capable of extracting ZIP files with entries with very long paths in it. The default built-in unzip of Windows might fail to extract everything into the right place.

英文:

The "self-extracting" jar contains a main method, so you should be able to just run that JAR file with the "java -jar <jarfile>" command from the command line or double click on it. When it runs, it will extract the STS installation on its own, so there is no need or reason to extract the JAR file manually.

If executing the JAR file via "java -jar ..." doesn't work (you mentioned an error message), then it looks to me like a problem with either the downloaded JAR file or some permissions issue.

There is also another way to get the distribution on your machine if the self-extracting JAR file doesn't work. You can go to https://github.com/spring-projects/sts4/wiki/Previous-Versions and download the ZIP file instead of the self-extracting JAR file. But you need to make sure that you extract the ZIP file using a tool like 7zip or so that is capable of extracting ZIP files with entries with very long paths in it. The default built-in unzip of Windows might fail to extract everything into the right place.

huangapple
  • 本文由 发表于 2023年1月6日 13:56:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/75027439.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定