In an applet, the jar file is specified in the ARCHIVE tag of the html page, see this page for details.
To get a gif image as URL, for example, you can write the code below.
Now your program can process the URL, see the java.net.URL API for details.
Alternatively, you can open the the resource as a stream.
Now you can process this stream, e.g., by creating a BufferedReader around it, or using it as is.
java -jar snews.jar
To do this you create a single line file that will be part of the jar file manifest. Using your favorite text editor create a file with any name, I'll use the name mainFile in the example. This file has single line that provides the class containing the public static void main function that launches the program.
Main-Class: snews.MainApp
In this example I'm assuming the class that invokes everything is MainApp.java but it's in the package snews. The key is the word Main-Class: which will be used by the jar manifest.
Then, create the jar files including the manifest file:
jar cmf mainFile snews.jar snews(which creates a jar file named snews.jar from the package/directory snews and adds the file mainFile as part of the manifest).
You then invoke the program using
java -jar snews.jar
I tested this, but you can type executable jar into google or your favorite search engine to find out more.