Solved

JAR ARCHIVE

Posted on 2004-09-18
6
237 Views
Last Modified: 2010-03-31
I just made a jar file.Let me know how to use it now.I am on the command line interface in Windows-XP.I think I have to uncompress the files in the jar file before I can proceed.Please include the jar command as it should be used now so that the compressed files can be used.
0
Comment
Question by:perfect_tranquility
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 7

Accepted Solution

by:
JugglerW earned 250 total points
ID: 12090981
Just set the jar file into your classpath and you can use any class in it
0
 
LVL 7

Expert Comment

by:JugglerW
ID: 12090984
Example:

set CLASSPATH=MyJar.jar;....other class path elements
0
 
LVL 7

Expert Comment

by:JugglerW
ID: 12091018
You may also make the jar file "executable" that mean you can define one class which should be started automatically if you double click the jar file in windows explorer. A good tutorial how to do is here:

http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 249 total points
ID: 12091042
You can also place it in your Java extensions directory. That way, you don't have to bother about the classpath
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question