I have been downloading http://download.springsource.com/release/STS/3.8.3.RELEASE/dist/e4.6/spring-tool-suite-3.8.3.RELEASE-e4.6.2-win32-x86_64.zip but I cannot find STS.exe as in prior versions. This is not explained on the download page https://spring.io/tools so how do I install it?
The STS.exe is included in that ZIP file (right inside the sts-3.8.3.RELEASE folder). Maybe a proxy server or a virus scanner removed the EXE from the ZIP file (some of those proxy and virus scanners remove any EXE by default for security reasons). I would guess that is the case for you if the STS.exe file is missing from your downloaded ZIP file.
Related
When I install my Java application on Windows using Install4J 9.0.5, I'll find a .install4j\user directory inside my installation directory. It contains several jar files and some other files used by the installer.
Do I still need this directory when the installation is finished? Maybe for uninstalling? And is there a built-in way for Install4J to delete this directory if it is not needed anymore?
The .install4j directory contains the runtime for the generated launchers and for installer applications like the uninstaller.
You can only delete it if you only have external installers, no installer applications and if you do not use the install4j API from your code.
I am currently working on turning my java application into a windows installer, converting the .jar into and .exe file.
Have chosen Install4J because of the ability to bundle JDK with the application, as well as recognizing previous installations when deploying updates.
Only problem I have, is the fact that the jar file for the application, is saved in the installation directory as well.
Does anyone know how to fix this? I don't want the original jar file in the directory, just the converted exe file.
The .exe file is just a launcher for the JVM, it does not contain natively compiled Java code.
The best way to protect your code is to use an obfuscator like ProGuard.
I am trying to install Spring tool suite.
when I downloaded it from https://spring.io/tools#suite-three, it gave a .jar file like spring-tool-suite-4-4.8.1.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting.jar
How can I install this and use, earlier I use to get .zip file from spring wb site.
The JAR file is a self-extracting JAR file. As long as you have a JRE or JDK installed on your Windows machine, you should be able to double-click the JAR file and it will self-extract the content on disc - which is basically the unzip operation that you did before.
In case the double click doesn't work, you can go to the terminal and execute java -jar spring-tool-suite-4-4.8.1.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting.jar. This will also run the unzip of the content.
First follow all the steps to install Java/JDK on your machine. Once that is done, you should be able to extract the STS folder by simply double clicking the jar file.
I'm new to install4j.
So I hope this question is easy to answer and not obvios.
I involved to an Java-development-project.
We decided to use install4j to create a nice installer for our customers.
Now i've got an install4j license and testing to create an installer.
I Use the install4j Launcher Wizard to make a .exe file out of my .jar file.
Now the Problem: If I remove the .jar file from the installer, the .exe file doesn't work anymore.
So the question: Is it possible to deploy with install4j an .exe file without the .jar file ?
WebStart is not an option in this project.
The .exe is just a launcher to start the JVM. Your Java code is not compiled into native code by install4j. If you want to protect your code, you have to use an obfuscator, for example yguard.
I think install4j can package the Jar inside the executable, as shown in this blog post:
http://blog.ej-technologies.com/2010/12/my-first-try-with-install4j-tutorial.html
I am using netbeans 7.1 (new to it). I would like to know how to export our projects as a .jar file (though I have searched a lot in Internet).
Many times ./dist folder itself is not created, even though it is created, I see only .zip files (not jar). It would be great if one can help me out in this aspect. Seems like in earlier version of netbeans, the jar would be available in ./dist folder.
Do this before search :) (right click the project > Clean and Build)
When you use the Clean and Build command, the IDE runs a build script that performs the following tasks:
Deletes any previously compiled files and other build outputs.
Recompiles the application and builds a JAR file containing the compiled files.
There is no difference in Netbeans 7.1, the jar will be in the dist folder :)