Skip to content

fix missing zip location #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/ROOT/pages/kb/docs/java/javase-deploy.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The answers to these questions are relatively simple, but not necessarily obviou
* Calling the application from the command line.
* Calling the application from a script file.

NOTE: To complete this tutorial, you need the link:https://netbeans.org/projects/samples/downloads/download/Samples%252FJava%252FDeploymentTutorial.zip[+Deployment Tutorial source files+].
NOTE: To complete this tutorial, you need the link:http://web.archive.org/web/20140123003605/https://netbeans.org/project_downloads/samples/Samples/Java/DeploymentTutorial.zip[Deployment Tutorial source files].

== Creating Executable JAR File

Expand All @@ -51,7 +51,7 @@ The classes used in this tutorial implement features of the link:http://www.gnu.

=== Creating a Project with Existing Sources

1. Download the link:https://netbeans.org/projects/samples/downloads/download/Samples%252FJava%252FDeploymentTutorial.zip[+DeploymentTutorial.zip+] file and extract its contents on your system.
1. Download the link:http://web.archive.org/web/20140123003605/https://netbeans.org/project_downloads/samples/Samples/Java/DeploymentTutorial.zip[DeploymentTutorial.zip] file and extract its contents on your system.
This zip archive contains source files for the application plus a few other files that will be used in the tutorial.


Expand Down Expand Up @@ -230,7 +230,7 @@ After completing these steps, the JAR file is rebuilt, and the ``Main-Class``

==== link:http://www.gnu.org/software/bash/bash.html[+BASH+] script -- for UNIX and Linux machines

Inside the folder on your system where you extracted the contents of the link:https://netbeans.org/projects/samples/downloads/download/Samples%252FJava%252FDeploymentTutorial.zip[+DeploymentTutorial.zip+] file, there is a ``grep.sh`` bash script. Have a look at it:
Inside the folder on your system where you extracted the contents of the link:http://web.archive.org/web/20140123003605/https://netbeans.org/project_downloads/samples/Samples/Java/DeploymentTutorial.zip[DeploymentTutorial.zip] file, there is a ``grep.sh`` bash script. Have a look at it:


[source,java]
Expand Down Expand Up @@ -271,7 +271,7 @@ A script handling this might look like the following:

----

This script is included as ``grep.bat`` inside the folder on your system where you extracted the contents of the link:https://netbeans.org/projects/samples/downloads/download/Samples%252FJava%252FDeploymentTutorial.zip[+DeploymentTutorial.zip+] file so you can try it out.
This script is included as ``grep.bat`` inside the folder on your system where you extracted the contents of the link:http://web.archive.org/web/20140123003605/https://netbeans.org/project_downloads/samples/Samples/Java/DeploymentTutorial.zip[DeploymentTutorial.zip] file so you can try it out.

The nine arguments are represented inside the batch file by ``%<ARG_NUMBER>`` , where ``<ARG_NUMBER>`` has to be inside ``<0-9>`` . ``%0`` is reserved for the script name.

Expand Down